Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
ExtEvent Class Reference

QCustomEvent no longer exists in full Qt4 so we have to subclass QEvent to provide our own custom event. More...

#include <Inventor/Qt/SoQtExtEventApplication.h>

+ Inheritance diagram for ExtEvent:

Public Member Functions

 ExtEvent (QEvent::Type type, void *data)
 Constructor.
 
void * data ()
 Returns the data sent with the event.
 
void setData (void *data)
 Sets the data sent with the event.
 

Detailed Description

QCustomEvent no longer exists in full Qt4 so we have to subclass QEvent to provide our own custom event.

Definition at line 36 of file SoQtExtEventApplication.h.

Constructor & Destructor Documentation

◆ ExtEvent()

ExtEvent::ExtEvent ( QEvent::Type  type,
void *  data 
)
inline

Constructor.

Definition at line 42 of file SoQtExtEventApplication.h.

Member Function Documentation

◆ data()

void * ExtEvent::data ( )
inline

Returns the data sent with the event.

Definition at line 47 of file SoQtExtEventApplication.h.

◆ setData()

void ExtEvent::setData ( void *  data)
inline

Sets the data sent with the event.

Definition at line 52 of file SoQtExtEventApplication.h.


The documentation for this class was generated from the following file: