summaryrefslogtreecommitdiff
path: root/noncore/games/parashoot/interface.h
Side-by-side diff
Diffstat (limited to 'noncore/games/parashoot/interface.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/parashoot/interface.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/noncore/games/parashoot/interface.h b/noncore/games/parashoot/interface.h
index 5abbe0b..dd73f53 100644
--- a/noncore/games/parashoot/interface.h
+++ b/noncore/games/parashoot/interface.h
@@ -1,5 +1,5 @@
/**********************************************************************
-** Copyright (C) 2000 Trolltech AS. All rights reserved.
+** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
**
-** This file is part of Qtopia Environment.
+** This file is part of the Qtopia Environment.
**
@@ -24,3 +24,3 @@
-#include <qpe/sound.h>
+#include <qtopia/sound.h>
@@ -34,3 +34,3 @@ class Helicopter;
//enum Direction{
-// left, right, up, down };
+// left, right, up, down };
@@ -38,7 +38,8 @@ class ParaShoot : public QMainWindow {
Q_OBJECT
-
+
public:
- static QString appName() { return QString::fromLatin1("parashoot"); }
ParaShoot(QWidget* parent=0, const char* name=0, WFlags f=0);
-
+ static QString appName() {
+ return QString::fromLatin1("parashoot");
+ }
void clear();
@@ -53,3 +54,5 @@ protected:
virtual void resizeEvent(QResizeEvent *e);
-
+ virtual void focusOutEvent(QFocusEvent *);
+ virtual void focusInEvent(QFocusEvent *);
+
private slots:
@@ -66,3 +69,2 @@ private:
Base* base;
- QCanvasText* gameover;
QLabel* levelscore;
@@ -79,2 +81,2 @@ private:
int lastcannonkey;
-};
+};