Home · All Classes · All Functions · Overviews |
The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.
QCustomEvent ( int type, void * data = 0 ) | |
void * | data () const |
void | setData ( void * data ) |
Constructs a custom event object with the event type and a pointer to data. The value of type must be at least as large as QEvent::User. By default, the data pointer is set to 0.
Returns a pointer to the generic event data.
See also setData().
Sets the generic data pointer to data.
See also data().
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt 4.6.0 |