Hello all,

Is it possible to be notified when a QObject is disconnected (signal/slot mechanism)?
The QObject::disconnectNotify does not fit my need: this method is called only when an EXPLICIT disconnect is done.
In my case, I have an IMPLICIT disconnect (see QObject::disconnect doc. I quote :"A signal-slot connection is removed when either of the objects involved are destroyed.")
For example, in pseudo-code:
connect (*objA, SIGNAL(blabla), *objB, SLOT(blabla));

Then somewhere, in my code (implying IMPLICIT disconnect)
delete objB

objA should have have to be advised the connection is destroyed. When overrinding the objA disconnectNotify method, this last one is not called !!

How can I manage this case?

Qt version: 4.5
Platform: Linux

Thanks