summaryrefslogtreecommitdiffstats
path: root/kasteroids/toplevel.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /kasteroids/toplevel.h
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;
};