The WrappedEvent class inherits QEvent and holds a clone of an event associated with a QObject. More...
| Header: | #include <WrappedEvent> |
| qmake: | QT += core |
| Since: | Qt 4.6 |
| Inherits: | QEvent |
| virtual | ~WrappedEvent() |
| QEvent * | event() const |
| QObject * | object() const |
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 Qt event. The QEventTransition class provides a transition associated with a such an event. QStateMachine::WrappedEvent is part of The State Machine Framework.
The object() function returns the object that generated the event. The event() function returns a clone of the original event.
See also QEventTransition.
[virtual] WrappedEvent::~WrappedEvent()
Destroys this WrappedEvent.
Returns a clone of the original event.
Returns the object that the event is associated with.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5/qstatemachine-wrappedevent.html