PDA

View Full Version : Object destroyed, what about connections?



Caius Aérobus
7th July 2008, 17:19
Imagine I destroy an object with some of its slots already connected to other objects? Do I run crash risks? And f yes how could I simply clear all theses previously established connections?

jpn
7th July 2008, 17:41
From QObject::~QObject() (http://doc.trolltech.com/4.4/qobject.html#dtor.QObject) docs:


All signals to and from the object are automatically disconnected