SignalEvent Class

class QStateMachine ::SignalEvent

The SignalEvent class represents a Qt signal event. 更多...

公共函数

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 属于 Qt State Machine Framework .

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 .

QList < QVariant > SignalEvent:: arguments () const

Returns the arguments of the signal.

QObject *SignalEvent:: sender () const

Returns the object that emitted the signal.

另请参阅 QObject::sender ().

int SignalEvent:: signalIndex () const

Returns the index of the signal.

另请参阅 QMetaObject::indexOfSignal () 和 QMetaObject::method ().