[Qt-interest] General question on signals and slots

Kybernetik Kollektiv kybernetikkollektiv at googlemail.com
Sun Aug 8 13:50:07 CEST 2010


Hi,

I have two QObjects A and B. Their signals/slots are connected like this:

connect(&A, SIGNAL(hello()), &B, SLOT(sayHello()));

Now B is deleted. Do I have to call disconnect() or is it ok to leave
A connected to the no longer existing object B?



More information about the Qt-interest-old mailing list