Home · Overviews · Examples 

QChildEvent Class Reference
[com.trolltech.qt.core module]

The QChildEvent class contains event parameters for child object events. More...

Inherits QEvent.


Detailed Description

The QChildEvent class contains event parameters for child object events.

Child events are sent immediately to objects when children are added or removed.

In both cases you can only rely on the child being a QObject (or, if QObject::isWidgetType() returns true, a QWidget). This is because in the QEvent::ChildAdded case the child is not yet fully constructed; in the QEvent::ChildRemoved case it might have already been destructed.

The handler for these events is QObject::childEvent().


Copyright © 2008 Trolltech Trademarks
Qt Jambi 4.3.4_01