summaryrefslogtreecommitdiff
path: root/noncore/games/qasteroids/toplevel.h
Side-by-side diff
Diffstat (limited to 'noncore/games/qasteroids/toplevel.h') (more/less context) (ignore 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 @@
#include <qmap.h>
#include "view.h"
class KALedMeter;
class QLCDNumber;
class KAstTopLevel : public QMainWindow
{
Q_OBJECT
public:
- KAstTopLevel( QWidget *parent=0, const char *name=0 );
+ KAstTopLevel( QWidget *parent=0, const char *name=0, WFlags fl = 0 );
virtual ~KAstTopLevel();
+ static QString appName() { return QString::fromLatin1("qasteroids"); }
+
private:
void playSound( const char *snd );
void readSoundMapping();
void doStats();
protected:
virtual void showEvent( QShowEvent * );
virtual void hideEvent( QHideEvent * );
virtual void keyPressEvent( QKeyEvent *event );
virtual void keyReleaseEvent( QKeyEvent *event );
virtual void focusInEvent( QFocusEvent *event );