The SignalEvent class represents a Qt signal event. 更多...
該類在 Qt 4.6 引入。
| virtual | ~SignalEvent () |
| QList<QVariant> | arguments () const |
| QObject * | sender () const |
| int | signalIndex () const |
A signal event is generated by a QStateMachine in response to a Qt signal. The QSignalTransition class provides a transition associated with a signal event. QStateMachine::SignalEvent 屬於 狀態機框架 .
The sender () function returns the object that generated the signal. The signalIndex () function returns the index of the signal. The arguments () function returns the arguments of the signal.
另請參閱 QSignalTransition .
[虛擬]
SignalEvent::
~SignalEvent
()
銷毀此 SignalEvent .
Returns the arguments of the signal.
Returns the object that emitted the signal.
另請參閱 QObject::sender ().
Returns the index of the signal.
另請參閱 QMetaObject::indexOfSignal () 和 QMetaObject::method ().