Diffstat (limited to 'noncore/games/parashoot/interface.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/parashoot/interface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/games/parashoot/interface.h b/noncore/games/parashoot/interface.h index 3f36d0b..5abbe0b 100644 --- a/noncore/games/parashoot/interface.h +++ b/noncore/games/parashoot/interface.h | |||
@@ -29,24 +29,25 @@ | |||
29 | #include <qlabel.h> | 29 | #include <qlabel.h> |
30 | 30 | ||
31 | class QCanvas; | 31 | class QCanvas; |
32 | class Helicopter; | 32 | class Helicopter; |
33 | 33 | ||
34 | //enum Direction{ | 34 | //enum Direction{ |
35 | // left, right, up, down }; | 35 | // left, right, up, down }; |
36 | 36 | ||
37 | class ParaShoot : public QMainWindow { | 37 | class ParaShoot : public QMainWindow { |
38 | Q_OBJECT | 38 | Q_OBJECT |
39 | 39 | ||
40 | public: | 40 | public: |
41 | static QString appName() { return QString::fromLatin1("parashoot"); } | ||
41 | ParaShoot(QWidget* parent=0, const char* name=0, WFlags f=0); | 42 | ParaShoot(QWidget* parent=0, const char* name=0, WFlags f=0); |
42 | 43 | ||
43 | void clear(); | 44 | void clear(); |
44 | void gameOver(); | 45 | void gameOver(); |
45 | int mancount; | 46 | int mancount; |
46 | void levelUp(); | 47 | void levelUp(); |
47 | void moveFaster(); | 48 | void moveFaster(); |
48 | 49 | ||
49 | protected: | 50 | protected: |
50 | virtual void keyPressEvent(QKeyEvent*); | 51 | virtual void keyPressEvent(QKeyEvent*); |
51 | virtual void keyReleaseEvent(QKeyEvent*); | 52 | virtual void keyReleaseEvent(QKeyEvent*); |
52 | virtual void resizeEvent(QResizeEvent *e); | 53 | virtual void resizeEvent(QResizeEvent *e); |