QCustomEvent Class Reference
The QCustomEvent class provides support for custom events. More...
This class is part of the Qt 3 support library. It is provided to keep old source code working. We strongly advise against using it in new code. See Porting to Qt 4 for more information.
Additional Inherited Members
- 1 property inherited from QEvent
- 6 public functions inherited from QEvent
- 1 static public member inherited from QEvent
The QCustomEvent class provides support for custom events.
QCustomEvent has a void * that can be used to store custom data.
In Qt 3, QObject::customEvent() took a QCustomEvent pointer. We found out that this approach was unsatisfactory, because there was often no safe way of deleting the data held in the void *.