Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

Compatibility Members for QCustomEvent

The following class members are part of the Qt 3 compatibility layer. They are provided to help you port old code to Qt 4. We strongly advise against using them in new code.

QCustomEvent class reference

Public Functions


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().


Copyright © 2004 Trolltech Trademarks
Qt 4.0.0-b1