Diffstat (limited to 'noncore/games/parashoot/interface.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/games/parashoot/interface.h | 14 |
1 files changed, 8 insertions, 6 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,6 +1,6 @@ /********************************************************************** -** 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. ** ** This file may be distributed and/or modified under the terms of the @@ -23,5 +23,5 @@ #include "helicopter.h" -#include <qpe/sound.h> +#include <qtopia/sound.h> #include <qmainwindow.h> @@ -39,7 +39,8 @@ class ParaShoot : public QMainWindow { 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(); void gameOver(); @@ -52,4 +53,6 @@ protected: virtual void keyReleaseEvent(QKeyEvent*); virtual void resizeEvent(QResizeEvent *e); + virtual void focusOutEvent(QFocusEvent *); + virtual void focusInEvent(QFocusEvent *); private slots: @@ -65,5 +68,4 @@ private: Cannon* cannon; Base* base; - QCanvasText* gameover; QLabel* levelscore; int nomen; |