CopperSpice API
1.9.2
|
The SignalEvent class represents a Signal event. More...
Public Methods | |
~SignalEvent () | |
QList< QVariant > | arguments () const |
QObject * | sender () const |
int | signalIndex () 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 |
Friends | |
class | QSignalTransition |
Additional Inherited Members | |
Public Types inherited from QEvent | |
enum | Type |
Static Public Methods inherited from QEvent | |
static int | registerEventType (int hint=-1) |
The SignalEvent class represents a signal event.
A signal event is generated by a QStateMachine in response to a CopperSpice signal. The QSignalTransition class provides a transition associated with a signal event. QStateMachine::SignalEvent is part of State Machine.
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.
QStateMachine::SignalEvent::~SignalEvent | ( | ) |
Destroys this SignalEvent.
Returns the arguments of the signal.
|
inline |
Returns the object that emitted the signal.
|
inline |
Returns the index of the signal.