summaryrefslogtreecommitdiffstats
path: root/examples/animation/sub-attaq/states.cpp
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-06-10 12:34:54 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-06-10 12:34:54 (GMT)
commitd8a284783b56e2ddbcedff3fc9577ec6038aab57 (patch)
tree1d49be6cb7de25836957adf30ac113c3a0499911 /examples/animation/sub-attaq/states.cpp
parent4a6548b83a6f1df42b82664efaca26c7efbc1909 (diff)
parentc0bbe44ab6290dee088138c01724779026d2c033 (diff)
downloadQt-d8a284783b56e2ddbcedff3fc9577ec6038aab57.zip
Qt-d8a284783b56e2ddbcedff3fc9577ec6038aab57.tar.gz
Qt-d8a284783b56e2ddbcedff3fc9577ec6038aab57.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Conflicts: src/corelib/animation/qanimationgroup.cpp src/gui/graphicsview/qgraphicsitem.cpp
Diffstat (limited to 'examples/animation/sub-attaq/states.cpp')
-rw-r--r--examples/animation/sub-attaq/states.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/examples/animation/sub-attaq/states.cpp b/examples/animation/sub-attaq/states.cpp
index c6af924..adc8bd0 100644
--- a/examples/animation/sub-attaq/states.cpp
+++ b/examples/animation/sub-attaq/states.cpp
@@ -51,17 +51,10 @@
//Qt
#include <QtGui/QMessageBox>
#include <QtGui/QGraphicsView>
-#if defined(QT_EXPERIMENTAL_SOLUTION)
-#include "qstatemachine.h"
-#include "qkeyeventtransition.h"
-#include "qsignalevent.h"
-#include "qfinalstate.h"
-#else
#include <QtCore/QStateMachine>
#include <QtGui/QKeyEventTransition>
#include <QtCore/QSignalEvent>
#include <QtCore/QFinalState>
-#endif
PlayState::PlayState(GraphicsScene *scene, QState *parent)
: QState(parent),
@@ -281,7 +274,7 @@ UpdateScoreTransition::UpdateScoreTransition(GraphicsScene *scene, PlayState *ga
{
}
-bool UpdateScoreTransition::eventTest(QEvent *event) const
+bool UpdateScoreTransition::eventTest(QEvent *event)
{
if (!QSignalTransition::eventTest(event))
return false;
@@ -300,7 +293,7 @@ WinTransition::WinTransition(GraphicsScene *scene, PlayState *game, QAbstractSta
{
}
-bool WinTransition::eventTest(QEvent *event) const
+bool WinTransition::eventTest(QEvent *event)
{
if (!QSignalTransition::eventTest(event))
return false;
@@ -319,7 +312,7 @@ CustomSpaceTransition::CustomSpaceTransition(QWidget *widget, PlayState *game, Q
{
}
-bool CustomSpaceTransition::eventTest(QEvent *event) const
+bool CustomSpaceTransition::eventTest(QEvent *event)
{
Q_UNUSED(event);
if (!QKeyEventTransition::eventTest(event))