summaryrefslogtreecommitdiff
path: root/noncore/games/qasteroids/toplevel.h
Unidiff
Diffstat (limited to 'noncore/games/qasteroids/toplevel.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/games/qasteroids/toplevel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/games/qasteroids/toplevel.h b/noncore/games/qasteroids/toplevel.h
index 4e1ac9c..0270763 100644
--- a/noncore/games/qasteroids/toplevel.h
+++ b/noncore/games/qasteroids/toplevel.h
@@ -30,26 +30,28 @@
30#include <qmap.h> 30#include <qmap.h>
31 31
32#include "view.h" 32#include "view.h"
33 33
34 34
35class KALedMeter; 35class KALedMeter;
36class QLCDNumber; 36class QLCDNumber;
37 37
38class KAstTopLevel : public QMainWindow 38class KAstTopLevel : public QMainWindow
39{ 39{
40 Q_OBJECT 40 Q_OBJECT
41public: 41public:
42 KAstTopLevel( QWidget *parent=0, const char *name=0 ); 42 KAstTopLevel( QWidget *parent=0, const char *name=0, WFlags fl = 0 );
43 virtual ~KAstTopLevel(); 43 virtual ~KAstTopLevel();
44 static QString appName() { return QString::fromLatin1("qasteroids"); }
45
44 46
45private: 47private:
46 void playSound( const char *snd ); 48 void playSound( const char *snd );
47 void readSoundMapping(); 49 void readSoundMapping();
48 void doStats(); 50 void doStats();
49 51
50protected: 52protected:
51 virtual void showEvent( QShowEvent * ); 53 virtual void showEvent( QShowEvent * );
52 virtual void hideEvent( QHideEvent * ); 54 virtual void hideEvent( QHideEvent * );
53 virtual void keyPressEvent( QKeyEvent *event ); 55 virtual void keyPressEvent( QKeyEvent *event );
54 virtual void keyReleaseEvent( QKeyEvent *event ); 56 virtual void keyReleaseEvent( QKeyEvent *event );
55 virtual void focusInEvent( QFocusEvent *event ); 57 virtual void focusInEvent( QFocusEvent *event );