summaryrefslogtreecommitdiffstats
path: root/konquest/gameboard.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 /konquest/gameboard.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 'konquest/gameboard.h')
-rw-r--r--konquest/gameboard.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/konquest/gameboard.h b/konquest/gameboard.h
index 5e3cddfa..4b30b0b1 100644
--- a/konquest/gameboard.h
+++ b/konquest/gameboard.h
@@ -1,7 +1,7 @@
#ifndef _GAMEBOARD_H_
#define _GAMEBOARD_H_
-#include <qwidget.h>
+#include <tqwidget.h>
#include "planet_info.h"
#include "map_widget.h"
@@ -26,12 +26,12 @@ class GameBoard : public QWidget
Q_OBJECT
public:
- GameBoard( QWidget *parent );
+ GameBoard( TQWidget *parent );
virtual ~GameBoard();
bool isGameInProgress(void) const { return gameInProgress; }
-// virtual QSize sizeHint() const;
+// virtual TQSize sizeHint() const;
protected slots:
void startNewGame();
@@ -54,7 +54,7 @@ signals:
// Event Handlers
//***************************************************************
protected:
- virtual void keyPressEvent( QKeyEvent * );
+ virtual void keyPressEvent( TQKeyEvent * );
private:
void turn();
@@ -66,13 +66,13 @@ private:
void doFleetArrival( AttackFleet *arrivingFleet );
void scanForSurvivors();
- void gameMsg(const QString &msg, Player *player = 0, Planet *planet = 0, Player *planetPlayer = 0);
+ void gameMsg(const TQString &msg, Player *player = 0, Planet *planet = 0, Player *planetPlayer = 0);
void changeGameBoard( bool inPlay );
void cleanupGame();
Player *findWinner();
- QString playerString(Player *player = 0);
+ TQString playerString(Player *player = 0);
//***************************************************************
// Game State information
@@ -86,12 +86,12 @@ private:
//***************************************************************
ConquestMap *mapWidget;
PlanetInfo *planetInfo;
- QLabel *gameMessage;
- QLabel *turnCounter;
- QPushButton *endTurn;
- QLineEdit *shipCountEdit;
- QLabel *splashScreen;
- QTextEdit *msgWidget;
+ TQLabel *gameMessage;
+ TQLabel *turnCounter;
+ TQPushButton *endTurn;
+ TQLineEdit *shipCountEdit;
+ TQLabel *splashScreen;
+ TQTextEdit *msgWidget;
//***************************************************************