Compatibility Members for QCustomEvent
The following members of class QCustomEventare part of the Qt compatibility layer. We advise against using them in new code.
Public Functions
QCustomEvent(int type, void * data = 0) | |
void * | data() const |
void | setData(void * data) |
Member Function Documentation
QCustomEvent::QCustomEvent(int type, void * data = 0)
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.
void * QCustomEvent::data() const
Returns a pointer to the generic event data.
See also setData().
void QCustomEvent::setData(void * data)
Sets the generic data pointer to data.
See also data().
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.