42 #ifndef QSTATEMACHINE_H 43 #define QSTATEMACHINE_H 45 #include <QtCore/qstate.h> 47 #include <QtCore/qcoreevent.h> 48 #include <QtCore/qlist.h> 49 #include <QtCore/qobject.h> 50 #include <QtCore/qset.h> 51 #include <QtCore/qvariant.h> 59 #ifndef QT_NO_STATEMACHINE 69 #ifndef QT_NO_ANIMATION 120 NoCommonAncestorForTransitionError
133 bool isRunning()
const;
135 #ifndef QT_NO_ANIMATION 136 bool isAnimated()
const;
137 void setAnimated(
bool enabled);
142 #endif // QT_NO_ANIMATION 149 bool cancelDelayedEvent(
int id);
153 #ifndef QT_NO_STATEMACHINE_EVENTFILTER 169 virtual void beginSelectTransitions(
QEvent *
event);
185 #ifndef QT_NO_ANIMATION 190 #endif //QT_NO_STATEMACHINE QObject * sender() const
Returns the object that emitted the signal.
The WrappedEvent class inherits QEvent and holds a clone of an event associated with a QObject...
#define QT_END_NAMESPACE
This macro expands to.
QString errorString
the error string of this state machine
The QStateMachine class provides a hierarchical finite state machine.
QList< QVariant > arguments() const
Returns the arguments of the signal.
int signalIndex() const
Returns the index of the signal.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
#define Q_PRIVATE_SLOT(d, signature)
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
The QState class provides a general-purpose state for QStateMachine.
Q_GUI_EXPORT QString errorString(EGLint code=eglGetError())
QObject * object() const
Returns the object that the event is associated with.
RestorePolicy
This enum specifies the restore policy type.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QAbstractState class is the base class of states of a QStateMachine.
The QAbstractAnimation class is the base of all animations.
QList< QVariant > m_arguments
Error
This enum type defines errors that can occur in the state machine at run time.
EventPriority
This enum type specifies the priority of an event posted to the state machine using postEvent()...
bool animated
whether animations are enabled
RestorePolicy globalRestorePolicy
the restore policy for states of this state machine.
#define Q_DECLARE_PRIVATE(Class)
The QEvent class is the base class of all event classes.
The SignalEvent class represents a Qt signal event.
QEvent * event() const
Returns a clone of the original event.