diff options
Diffstat (limited to 'konquest/gameboard.h')
-rw-r--r-- | konquest/gameboard.h | 24 |
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; //*************************************************************** |