44 #ifndef QT_NO_STATEMACHINE 191 if (sender ==
d->sender)
213 if (signal ==
d->signal)
234 if (
d->signalIndex == -1)
237 return (se->
sender() ==
d->sender)
276 #endif //QT_NO_STATEMACHINE
~QSignalTransition()
Destroys this signal transition.
bool event(QEvent *e)
Reimplemented Function
QObject * sender() const
Returns the object that emitted the signal.
#define QT_END_NAMESPACE
This macro expands to.
The QAbstractTransition class is the base class of transitions between QAbstractState objects...
QSignalTransition(QState *sourceState=0)
Constructs a new signal transition with the given sourceState.
virtual void callOnTransition(QEvent *e)
QState * sourceState() const
void unregisterSignalTransition(QSignalTransition *transition)
The QByteArray class provides an array of bytes.
int signalIndex() const
Returns the index of the signal.
bool eventTest(QEvent *event)
The default implementation returns true if the event is a QStateMachine::SignalEvent object and the e...
The QObject class is the base class of all Qt objects.
QSignalTransitionPrivate()
The QState class provides a general-purpose state for QStateMachine.
QObject * sender() const
Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; othe...
QByteArray signal() const
void registerSignalTransition(QSignalTransition *transition)
#define QT_BEGIN_NAMESPACE
This macro expands to.
static QStateMachinePrivate * get(QStateMachine *q)
The QSignalTransition class provides a transition based on a Qt signal.
void onTransition(QEvent *event)
Reimplemented Function
QState * sourceState() const
void setSenderObject(QObject *sender)
Sets the sender object associated with this signal transition.
QStateMachine * machine() const
static QSignalTransitionPrivate * get(QSignalTransition *q)
bool event(QEvent *e)
Reimplemented Function
QObject * senderObject() const
The QEvent class is the base class of all event classes.
Type type() const
Returns the event type.
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
The SignalEvent class represents a Qt signal event.
void setSignal(const QByteArray &signal)
Sets the signal associated with this signal transition.