CopperSpice API
1.9.2
|
The WrappedEvent class inherits QEvent and holds a clone of an event associated with a QObject. More...
Public Methods | |
~WrappedEvent () | |
QEvent * | event () const |
QObject * | object () const |
Public Methods inherited from QEvent | |
QEvent (const QEvent &other) | |
QEvent (Type type) | |
virtual | ~QEvent () |
void | accept () |
void | ignore () |
bool | isAccepted () const |
QEvent & | operator= (const QEvent &other) |
void | setAccepted (bool accepted) |
bool | spontaneous () const |
Type | type () const |
Additional Inherited Members | |
Public Types inherited from QEvent | |
enum | Type |
Static Public Methods inherited from QEvent | |
static int | registerEventType (int hint=-1) |
The WrappedEvent class inherits QEvent and holds a clone of an event associated with a QObject. A wrapped event is generated by a QStateMachine in response to a CopperSpice event. The QEventTransition class provides a transition associated with a such an event. QStateMachine::WrappedEvent is part of State Machine. The object() function returns the object that generated the event. The event() function returns a clone of the original event.
QStateMachine::WrappedEvent::~WrappedEvent | ( | ) |
Destroys this WrappedEvent.
|
inline |
Returns a clone of the original event.
|
inline |
Returns the object that the event is associated with.