summaryrefslogtreecommitdiffstats
path: root/kreversi/qreversigame.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/qreversigame.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/qreversigame.h')
-rw-r--r--kreversi/qreversigame.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/kreversi/qreversigame.h b/kreversi/qreversigame.h
index b4dcb19b..875d2c07 100644
--- a/kreversi/qreversigame.h
+++ b/kreversi/qreversigame.h
@@ -36,8 +36,8 @@
*******************************************************************
*/
-#ifndef __QREVERSIGAME__H__
-#define __QREVERSIGAME__H__
+#ifndef __TQREVERSIGAME__H__
+#define __TQREVERSIGAME__H__
#include <tqwidget.h>
#include <tqpixmap.h>
@@ -52,7 +52,7 @@ class KConfig;
// The main document class in the reversi program. The thing that
-// makes this a QReversiGame instead of just a ReversiGame is that it
+// makes this a TQReversiGame instead of just a ReversiGame is that it
// emits signals that can be used to update a view.
//
// Signals:
@@ -62,12 +62,13 @@ class KConfig;
// gameOver()
//
-class QReversiGame : public TQObject, public Game {
+class TQReversiGame : public TQObject, public Game {
Q_OBJECT
+ TQ_OBJECT
public:
- QReversiGame(TQObject *parent = 0);
- ~QReversiGame();
+ TQReversiGame(TQObject *tqparent = 0);
+ ~TQReversiGame();
// Methods dealing with the game
void newGame();