QStateMachine Class Reference
#include <qstatemachine.h>
Definition at line 63 of file qstatemachine.h.
|
| QStateMachine (QObject *parent=0) |
|
| ~QStateMachine () |
|
void | addState (QAbstractState *state) |
|
void | removeState (QAbstractState *state) |
|
Error | error () const |
|
QString | errorString () const |
|
void | clearError () |
|
bool | isRunning () const |
|
bool | isAnimated () const |
|
void | setAnimated (bool enabled) |
|
void | addDefaultAnimation (QAbstractAnimation *animation) |
|
QList< QAbstractAnimation * > | defaultAnimations () const |
|
void | removeDefaultAnimation (QAbstractAnimation *animation) |
|
QStateMachine::RestorePolicy | globalRestorePolicy () const |
|
void | setGlobalRestorePolicy (QStateMachine::RestorePolicy restorePolicy) |
|
void | postEvent (QEvent *event, EventPriority priority=NormalPriority) |
|
int | postDelayedEvent (QEvent *event, int delay) |
|
bool | cancelDelayedEvent (int id) |
|
QSet< QAbstractState * > | configuration () const |
|
bool | eventFilter (QObject *watched, QEvent *event) |
|
| QState (QState *parent=0) |
|
| QState (ChildMode childMode, QState *parent=0) |
|
| ~QState () |
|
QAbstractState * | errorState () const |
|
void | setErrorState (QAbstractState *state) |
|
void | addTransition (QAbstractTransition *transition) |
|
QSignalTransition * | addTransition (QObject *sender, const char *signal, QAbstractState *target) |
|
QAbstractTransition * | addTransition (QAbstractState *target) |
|
void | removeTransition (QAbstractTransition *transition) |
|
QList< QAbstractTransition * > | transitions () const |
|
QAbstractState * | initialState () const |
|
void | setInitialState (QAbstractState *state) |
|
ChildMode | childMode () const |
|
void | setChildMode (ChildMode mode) |
|
void | assignProperty (QObject *object, const char *name, const QVariant &value) |
|
| ~QAbstractState () |
|
QState * | parentState () const |
|
QStateMachine * | machine () const |
|
Q_INVOKABLE | QObject (QObject *parent=0) |
|
virtual | ~QObject () |
|
QString | objectName () const |
|
void | setObjectName (const QString &name) |
|
bool | isWidgetType () const |
|
bool | signalsBlocked () const |
|
bool | blockSignals (bool b) |
|
QThread * | thread () const |
|
void | moveToThread (QThread *thread) |
|
int | startTimer (int interval) |
|
void | killTimer (int id) |
|
template<typename T > |
T | findChild (const QString &aName=QString()) const |
|
template<typename T > |
QList< T > | findChildren (const QString &aName=QString()) const |
|
template<typename T > |
QList< T > | findChildren (const QRegExp &re) const |
|
const QObjectList & | children () const |
|
void | setParent (QObject *) |
|
void | installEventFilter (QObject *) |
|
void | removeEventFilter (QObject *) |
|
bool | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
|
bool | disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0) |
|
bool | disconnect (const QObject *receiver, const char *member=0) |
|
void | dumpObjectTree () |
|
void | dumpObjectInfo () |
|
bool | setProperty (const char *name, const QVariant &value) |
|
QVariant | property (const char *name) const |
|
QList< QByteArray > | dynamicPropertyNames () const |
|
void | setUserData (uint id, QObjectUserData *data) |
|
QObjectUserData * | userData (uint id) const |
|
QObject * | parent () const |
|
bool | inherits (const char *classname) const |
|
|
static bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection) |
|
static bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection) |
|
static bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
|
static bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member) |
|
static uint | registerUserData () |
|
QScopedPointer< QObjectData > | d_ptr |
|
static const QMetaObject | staticQtMetaObject |
|
Enumerator |
---|
DontRestoreProperties |
|
RestoreProperties |
|
Definition at line 111 of file qstatemachine.h.
Enumerator |
---|
NoError |
|
NoInitialStateError |
|
NoDefaultStateInHistoryStateError |
|
NoCommonAncestorForTransitionError |
|
Definition at line 116 of file qstatemachine.h.
bool isAnimated |
( |
| ) |
const |
void setAnimated |
( |
bool |
enabled | ) |
|
bool cancelDelayedEvent |
( |
int |
id | ) |
|
virtual void beginSelectTransitions |
( |
QEvent * |
event | ) |
|
|
protectedvirtual |
virtual void endSelectTransitions |
( |
QEvent * |
event | ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following file: