summaryrefslogtreecommitdiffstats
path: root/kreversi/board.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
commit838baf3f99ec5ab81b063eb5449a3381d860f377 (patch)
treedd31abcfde08ca92e4623b8f50b3d762a87c997a /kreversi/board.h
parent2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff)
downloadtdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.tar.gz
tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.zip
TQt4 port kdegames
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kreversi/board.h')
-rw-r--r--kreversi/board.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/kreversi/board.h b/kreversi/board.h
index f5efc739..59c9463c 100644
--- a/kreversi/board.h
+++ b/kreversi/board.h
@@ -49,18 +49,19 @@
class KConfig;
-class QReversiGame;
+class TQReversiGame;
// The class Board is the visible Reversi Board widget.
//
-class QReversiBoardView : public TQWidget {
+class TQReversiBoardView : public TQWidget {
Q_OBJECT
+ TQ_OBJECT
public:
- QReversiBoardView(TQWidget *parent, QReversiGame *game);
- ~QReversiBoardView();
+ TQReversiBoardView(TQWidget *tqparent, TQReversiGame *game);
+ ~TQReversiBoardView();
// starts all: emits some signal, so it can't be called from
// constructor
@@ -124,7 +125,7 @@ private:
private:
- QReversiGame *m_krgame; // Pointer to the game object (not owner).
+ TQReversiGame *m_krgame; // Pointer to the game object (not owner).
// The background of the board - a color and a pixmap.
TQColor bgColor;