Disconnect doesn't happen upon deletion

bq.QObject::~QObject () [virtual]
All signals to and from the object are automatically disconnected, and any pending posted events for the object are removed from the event queue. However, it is often safer to use deleteLater() rather than deleting a QObject subclass directly.

So I wrote a small piece of code just to verify this auto disconnect thing.

Hi, If your waiting for slotObject to be destroyed, it's when the program is terminated. (object gets destroyed when software block is closed, so below the return core.exec();)
It might give you a better understanding of disconnect etc to create a MAinwindow and open/close a dialog in it. Then the "disconnect" should be seen in your output window in QtCreator or in you command terminal if running in terminal mode.
Greetz

[quote author="Jeroentje@home" date="1369070646"]Hi, If your waiting for slotObject to be destroyed, it's when the program is terminated. (object gets destroyed when software block is closed, so below the return core.exec();)
[/quote]