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 --- kmahjongg/boardwidget.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'kmahjongg/boardwidget.h') diff --git a/kmahjongg/boardwidget.h b/kmahjongg/boardwidget.h index 3fe7c3b7..749f5452 100644 --- a/kmahjongg/boardwidget.h +++ b/kmahjongg/boardwidget.h @@ -86,12 +86,13 @@ typedef struct gamedata { /** * @author Mathias Mueller */ -class BoardWidget : public QWidget +class BoardWidget : public TQWidget { Q_OBJECT + TQ_OBJECT public: - BoardWidget( TQWidget* parent = 0, const char *name = 0 ); + BoardWidget( TQWidget* tqparent = 0, const char *name = 0 ); ~BoardWidget(); void calculateNewGame(int num = -1 ); @@ -204,7 +205,7 @@ class BoardWidget : public QWidget - bool updateBackBuffer; // does board need redrawing. Not if it is just a repaint + bool updateBackBuffer; // does board need redrawing. Not if it is just a tqrepaint bool gamePaused; -- cgit v1.2.1