summaryrefslogtreecommitdiffstats
path: root/atlantik/libatlantikui/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'atlantik/libatlantikui/board.h')
-rw-r--r--atlantik/libatlantikui/board.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/atlantik/libatlantikui/board.h b/atlantik/libatlantikui/board.h
index deedb3d6..21c47991 100644
--- a/atlantik/libatlantikui/board.h
+++ b/atlantik/libatlantikui/board.h
@@ -17,10 +17,10 @@
#ifndef ATLANTIK_BOARD_H
#define ATLANTIK_BOARD_H
-#include <qwidget.h>
-#include <qtimer.h>
-#include <qlayout.h>
-#include <qptrlist.h>
+#include <tqwidget.h>
+#include <tqtimer.h>
+#include <tqlayout.h>
+#include <tqptrlist.h>
#include "libatlantikui_export.h"
class QPoint;
@@ -39,7 +39,7 @@ Q_OBJECT
public:
enum DisplayMode { Play, Edit };
- AtlantikBoard(AtlanticCore *atlanticCore, int maxEstates, DisplayMode mode, QWidget *parent, const char *name=0);
+ AtlantikBoard(AtlanticCore *atlanticCore, int maxEstates, DisplayMode mode, TQWidget *parent, const char *name=0);
~AtlantikBoard();
void reset();
@@ -53,7 +53,7 @@ public:
void indicateUnownedChanged();
EstateView *findEstateView(Estate *estate);
- QWidget *centerWidget();
+ TQWidget *centerWidget();
public slots:
void slotMoveToken();
@@ -62,41 +62,41 @@ public slots:
private slots:
void playerChanged(Player *player);
- void displayButton(QString command, QString caption, bool enabled);
+ void displayButton(TQString command, TQString caption, bool enabled);
void prependEstateDetails(Estate *);
- void insertDetails(QString text, bool clearText, bool clearButtons, Estate *estate = 0);
+ void insertDetails(TQString text, bool clearText, bool clearButtons, Estate *estate = 0);
void addCloseButton();
signals:
void tokenConfirmation(Estate *estate);
- void buttonCommand(QString command);
+ void buttonCommand(TQString command);
protected:
- void resizeEvent(QResizeEvent *);
+ void resizeEvent(TQResizeEvent *);
private:
Token *findToken(Player *player);
void jumpToken(Token *token);
void moveToken(Token *token);
- QPoint calculateTokenDestination(Token *token, Estate *estate = 0);
+ TQPoint calculateTokenDestination(Token *token, Estate *estate = 0);
void updateCenter();
AtlanticCore *m_atlanticCore;
DisplayMode m_mode;
- QWidget *spacer, *m_lastServerDisplay;
- QGridLayout *m_gridLayout;
+ TQWidget *spacer, *m_lastServerDisplay;
+ TQGridLayout *m_gridLayout;
Token *m_movingToken;
- QTimer *m_timer;
+ TQTimer *m_timer;
bool m_resumeTimer;
bool m_animateTokens;
int m_maxEstates;
- QPtrList<EstateView> m_estateViews;
- QPtrList<Token> m_tokens;
- QPtrList<QWidget> m_displayQueue;
+ TQPtrList<EstateView> m_estateViews;
+ TQPtrList<Token> m_tokens;
+ TQPtrList<TQWidget> m_displayQueue;
};
#endif