diff options
author | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-05-07 09:51:16 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-05-07 09:51:16 (GMT) |
commit | 2edb7ce649bba7221f02aeae021645e219e25f70 (patch) | |
tree | e143ab51d072380f6a5c31f38bc5aa4f5267c653 | |
parent | 56d27b54e2fe64782250e8e39012f345588cfad5 (diff) | |
download | Qt-2edb7ce649bba7221f02aeae021645e219e25f70.zip Qt-2edb7ce649bba7221f02aeae021645e219e25f70.tar.gz Qt-2edb7ce649bba7221f02aeae021645e219e25f70.tar.bz2 |
doc: Add documentation for NoCommonAncestorForTransitionError enum
-rw-r--r-- | src/corelib/statemachine/qstatemachine.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/corelib/statemachine/qstatemachine.cpp b/src/corelib/statemachine/qstatemachine.cpp index dcdf5ed..7f2132d 100644 --- a/src/corelib/statemachine/qstatemachine.cpp +++ b/src/corelib/statemachine/qstatemachine.cpp @@ -1571,6 +1571,11 @@ void QStateMachine::setErrorState(QAbstractState *state) \value NoDefaultStateInHistoryStateError The machine has entered a QHistoryState which does not have a default state set. The context of this error is the QHistoryState which is missing a default state. + \value NoCommonAncestorForTransitionError The machine has selected a transition whose source + and targets are not part of the same tree of states, and thus are not part of the same + state machine. Commonly, this could mean that one of the states has not been given + any parent or added to any machine. The context of this error is the source state of + the transition. \sa setErrorState() */ |