summaryrefslogtreecommitdiffstats
path: root/kasteroids/toplevel.h
diff options
context:
space:
mode:
Diffstat (limited to 'kasteroids/toplevel.h')
-rw-r--r--kasteroids/toplevel.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/kasteroids/toplevel.h b/kasteroids/toplevel.h
index 70545f71..fb67cc14 100644
--- a/kasteroids/toplevel.h
+++ b/kasteroids/toplevel.h
@@ -9,8 +9,8 @@
#include <kmainwindow.h>
#include <kaccel.h>
-#include <qdict.h>
-#include <qmap.h>
+#include <tqdict.h>
+#include <tqmap.h>
#include "view.h"
@@ -33,13 +33,13 @@ private:
void readSoundMapping();
void doStats();
bool queryExit();
- bool processKeyPress( QKeyEvent *event );
- bool processKeyRelease( QKeyEvent *event );
+ bool processKeyPress( TQKeyEvent *event );
+ bool processKeyRelease( TQKeyEvent *event );
protected:
- virtual bool eventFilter( QObject *object, QEvent *event );
- virtual void focusInEvent( QFocusEvent *event );
- virtual void focusOutEvent( QFocusEvent *event );
+ virtual bool eventFilter( TQObject *object, TQEvent *event );
+ virtual void focusInEvent( TQFocusEvent *event );
+ virtual void focusOutEvent( TQFocusEvent *event );
private slots:
void loadSettings();
@@ -61,18 +61,18 @@ private slots:
private:
KAsteroidsView *view;
- QLCDNumber *scoreLCD;
- QLCDNumber *levelLCD;
- QLCDNumber *shipsLCD;
-
- QLCDNumber *teleportsLCD;
-// QLCDNumber *bombsLCD;
- QLCDNumber *brakesLCD;
- QLCDNumber *shieldLCD;
- QLCDNumber *shootLCD;
+ TQLCDNumber *scoreLCD;
+ TQLCDNumber *levelLCD;
+ TQLCDNumber *shipsLCD;
+
+ TQLCDNumber *teleportsLCD;
+// TQLCDNumber *bombsLCD;
+ TQLCDNumber *brakesLCD;
+ TQLCDNumber *shieldLCD;
+ TQLCDNumber *shootLCD;
KALedMeter *powerMeter;
- QDict<QString> soundDict;
+ TQDict<TQString> soundDict;
// waiting for user to press Enter to launch a ship
bool waitShip;
@@ -85,7 +85,7 @@ private:
enum Action { Invalid, Launch, Thrust, RotateLeft, RotateRight, Shoot,
Teleport, Brake, Shield };
- QMap<Action, KAction*> keycodes;
+ TQMap<Action, KAction*> keycodes;
KAction *launchAction;
};