summaryrefslogtreecommitdiffstats
path: root/examples/animation
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-04-28 13:10:35 +0200
committerKent Hansen <khansen@trolltech.com>2009-04-28 13:10:35 +0200
commit77abdfda731e010f8f93eb083478d10c7fd860fb (patch)
treeb6a62893db5cbd9a7533b069d9438191de6f62ab /examples/animation
parenta460bee2b3051bf6a5176b5c620f81ff962a7f53 (diff)
compile after api changes
Diffstat (limited to 'examples/animation')
-rw-r--r--examples/animation/sub-attaq/states.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/animation/sub-attaq/states.cpp b/examples/animation/sub-attaq/states.cpp
index f476f551d1..b381db7787 100644
--- a/examples/animation/sub-attaq/states.cpp
+++ b/examples/animation/sub-attaq/states.cpp
@@ -140,10 +140,10 @@ void PlayState::onEntry()
QFinalState *final = new QFinalState(machine->rootState());
//We win we should reach the final state
- winState->addFinishedTransition(final);
+ winState->addTransition(winState, SIGNAL(finished()), final);
//We lost we should reach the final state
- lostState->addFinishedTransition(final);
+ lostState->addTransition(lostState, SIGNAL(finished()), final);
machine->start();
}