From 838baf3f99ec5ab81b063eb5449a3381d860f377 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 04:58:26 +0000 Subject: 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 --- kreversi/qreversigame.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'kreversi/qreversigame.h') 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 #include @@ -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(); -- cgit v1.2.1