diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-04-29 09:40:38 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-04-29 09:41:13 (GMT) |
commit | fa612960f423aa413d6d83813807a470aef27d7d (patch) | |
tree | 0eda17fc34fd88831cb15168b28eba0e1ca4e5a3 /doc | |
parent | c731d50a8ac908da982c911c73509cdd766c4c0f (diff) | |
download | Qt-fa612960f423aa413d6d83813807a470aef27d7d.zip Qt-fa612960f423aa413d6d83813807a470aef27d7d.tar.gz Qt-fa612960f423aa413d6d83813807a470aef27d7d.tar.bz2 |
replace QState::Type with QState::childMode property
Result of API review.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/statemachine.qdoc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/doc/src/statemachine.qdoc b/doc/src/statemachine.qdoc index 1462ec1..60ae815 100644 --- a/doc/src/statemachine.qdoc +++ b/doc/src/statemachine.qdoc @@ -241,11 +241,11 @@ \caption This is a caption \endomit - To create a parallel state group, pass QState::ParallelStateGroup to the - QState constructor. + To create a parallel state group, pass QState::ParallelStates to the QState + constructor. \code - QState *s1 = new QState(QState::ParallelStateGroup); + QState *s1 = new QState(QState::ParallelStates); // s11 and s12 will be entered in parallel QState *s11 = new QState(s1); QState *s12 = new QState(s1); @@ -253,9 +253,8 @@ \section1 Detecting that a Composite State has Finished - A child state can be final; when a final child state is entered, a - QStateFinishedEvent is generated for the parent state. You can use the - QStateFinishedTransition class to trigger a transition based on this event. + A child state can be final; when a final child state is entered, the parent + state emits the QState::finished() signal. \img statemachine-finished.png \omit |