summaryrefslogtreecommitdiffstats
path: root/kmahjongg/boardwidget.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 /kmahjongg/boardwidget.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 'kmahjongg/boardwidget.h')
-rw-r--r--kmahjongg/boardwidget.h7
1 files changed, 4 insertions, 3 deletions
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;