summaryrefslogtreecommitdiffstats
path: root/examples/widgets/animation/sub-attaq/states.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/animation/sub-attaq/states.h')
-rw-r--r--examples/widgets/animation/sub-attaq/states.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/widgets/animation/sub-attaq/states.h b/examples/widgets/animation/sub-attaq/states.h
index b1730a230d..3cd27be9a4 100644
--- a/examples/widgets/animation/sub-attaq/states.h
+++ b/examples/widgets/animation/sub-attaq/states.h
@@ -70,7 +70,6 @@ private :
QStateMachine *machine;
int currentLevel;
int score;
- QState *parallelChild;
friend class UpdateScoreState;
friend class UpdateScoreTransition;
@@ -103,7 +102,6 @@ protected:
void onExit(QEvent *);
private :
GraphicsScene *scene;
- Boat *boat;
};
class LostState : public QState
@@ -135,10 +133,8 @@ private :
class UpdateScoreState : public QState
{
public:
- UpdateScoreState(PlayState *game, QState *parent);
+ UpdateScoreState(QState *parent);
private:
- QPropertyAnimation *scoreAnimation;
- PlayState *game;
};
//These transtion is used to update the score
@@ -174,7 +170,6 @@ protected:
virtual bool eventTest(QEvent *event);
private:
PlayState *game;
- int key;
};
#endif // STATES_H