44 #ifndef QT_NO_STATEMACHINE 85 : stateType(type), isMachine(false), parentState(0)
163 if (
d->parentState !=
parent())
165 return d->parentState;
224 #endif //QT_NO_STATEMACHINE void callOnEntry(QEvent *e)
#define QT_END_NAMESPACE
This macro expands to.
QState * parentState() const
Returns this state's parent state, or 0 if the state has no parent state.
QStateMachine * machine() const
Returns the state machine that this state is part of, or 0 if the state is not part of a state machin...
The QStateMachine class provides a hierarchical finite state machine.
T * qobject_cast(QObject *object)
The QObject class is the base class of all Qt objects.
virtual bool event(QEvent *)
This virtual function receives events to an object and should return true if the event e was recogniz...
QAbstractState(QState *parent=0)
Constructs a new state with the given parent state.
The QState class provides a general-purpose state for QStateMachine.
bool event(QEvent *e)
Reimplemented Function
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QAbstractState class is the base class of states of a QStateMachine.
QStateMachine * machine() const
static QAbstractStatePrivate * get(QAbstractState *q)
void callOnExit(QEvent *e)
QObject * parent() const
Returns a pointer to the parent object.
QAbstractStatePrivate(StateType type)
The QEvent class is the base class of all event classes.
~QAbstractState()
Destroys this state.