The WrappedEvent class inherits QEvent and holds a clone of an event associated with a QObject . 更多...
該類在 Qt 4.6 引入。
| virtual | ~WrappedEvent () |
| QEvent * | event () const |
| QObject * | object () const |
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 屬於 狀態機框架 .
The object () function returns the object that generated the event. The event () function returns a clone of the original event.
另請參閱 QEventTransition .
[虛擬]
WrappedEvent::
~WrappedEvent
()
銷毀此 WrappedEvent .
Returns a clone of the original event.
Returns the object that the event is associated with.