summaryrefslogtreecommitdiffstats
path: root/kreversi/qreversigameview.h
diff options
context:
space:
mode:
Diffstat (limited to 'kreversi/qreversigameview.h')
-rw-r--r--kreversi/qreversigameview.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kreversi/qreversigameview.h b/kreversi/qreversigameview.h
index a3059a25..59855fa9 100644
--- a/kreversi/qreversigameview.h
+++ b/kreversi/qreversigameview.h
@@ -40,7 +40,7 @@
#define __QREVERSIGAMEVIEW__H__
-#include <qlistbox.h>
+#include <tqlistbox.h>
#include "Score.h"
#include "Move.h"
@@ -60,27 +60,27 @@ class StatusWidget : public QWidget
Q_OBJECT
public:
- StatusWidget(const QString &text, QWidget *parent);
+ StatusWidget(const TQString &text, TQWidget *parent);
- void setText(const QString &string);
- void setPixmap(const QPixmap &pixmap);
+ void setText(const TQString &string);
+ void setPixmap(const TQPixmap &pixmap);
void setScore(uint score);
private:
- QLabel *m_textLabel;
- QLabel *m_pixLabel;
- QLabel *m_scoreLabel;
+ TQLabel *m_textLabel;
+ TQLabel *m_pixLabel;
+ TQLabel *m_scoreLabel;
};
// The main game view
-class QReversiGameView : public QWidget {
+class QReversiGameView : public TQWidget {
Q_OBJECT
public:
- QReversiGameView(QWidget *parent, QReversiGame *game);
+ QReversiGameView(TQWidget *parent, QReversiGame *game);
~QReversiGameView();
// Proxy methods for the board view
@@ -94,12 +94,12 @@ public:
void setAnimationSpeed(uint speed){m_boardView->setAnimationSpeed(speed);}
// To get the pixmap for the status view
- QPixmap chipPixmap(Color color, uint size) const
+ TQPixmap chipPixmap(Color color, uint size) const
{ return m_boardView->chipPixmap(color, size); }
// Proxy methods for the movelist
// FIXME: Not all of these need to be externally reachable
- void insertMove(QString moveString) { m_movesView->insertItem(moveString); }
+ void insertMove(TQString moveString) { m_movesView->insertItem(moveString); }
void removeMove(int moveNum) {
m_movesView->removeItem(moveNum);
updateStatus();
@@ -150,7 +150,7 @@ private:
// Widgets in the view.
QReversiBoardView *m_boardView;
- QListBox *m_movesView;
+ TQListBox *m_movesView;
StatusWidget *m_blackStatus;
StatusWidget *m_whiteStatus;
};