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 /examples | |
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 'examples')
-rw-r--r-- | examples/statemachine/clockticking/main.cpp | 2 | ||||
-rw-r--r-- | examples/statemachine/pingpong/main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/statemachine/clockticking/main.cpp b/examples/statemachine/clockticking/main.cpp index 301060b..9b54f29 100644 --- a/examples/statemachine/clockticking/main.cpp +++ b/examples/statemachine/clockticking/main.cpp @@ -104,7 +104,7 @@ int main(int argc, char **argv) QCoreApplication app(argc, argv); QStateMachine machine; - QState *group = new QState(QState::ParallelGroup); + QState *group = new QState(QState::ParallelStates); group->setObjectName("group"); ClockState *clock = new ClockState(group); diff --git a/examples/statemachine/pingpong/main.cpp b/examples/statemachine/pingpong/main.cpp index ec1ebf2..68f7115 100644 --- a/examples/statemachine/pingpong/main.cpp +++ b/examples/statemachine/pingpong/main.cpp @@ -112,7 +112,7 @@ int main(int argc, char **argv) QCoreApplication app(argc, argv); QStateMachine machine; - QState *group = new QState(QState::ParallelGroup); + QState *group = new QState(QState::ParallelStates); group->setObjectName("group"); Pinger *pinger = new Pinger(group); |