summaryrefslogtreecommitdiffstats
path: root/kmahjongg/GameTimer.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/GameTimer.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/GameTimer.h')
-rw-r--r--kmahjongg/GameTimer.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/kmahjongg/GameTimer.h b/kmahjongg/GameTimer.h
index 10d97e13..cae1961e 100644
--- a/kmahjongg/GameTimer.h
+++ b/kmahjongg/GameTimer.h
@@ -8,7 +8,7 @@
**
** Copyright (C) 1992-1998 Troll Tech AS. All rights reserved.
**
-** This file is part of an example program for Qt. This example
+** This file is part of an example program for TQt. This example
** program may be used, distributed and modified without limitation.
**
*****************************************************************************/
@@ -24,8 +24,9 @@ enum TimerMode {running = -53 , stopped= -54 , paused = -55};
class GameTimer: public TQLCDNumber
{
Q_OBJECT
+ TQ_OBJECT
public:
- GameTimer( TQWidget *parent=0, const char *name=0 );
+ GameTimer( TQWidget *tqparent=0, const char *name=0 );
int toInt();
TQString toString() {return theTimer.toString();}
@@ -45,7 +46,7 @@ private slots: // internal slots
private: // internal data
bool showingColon;
- QTime theTimer;
+ TQTime theTimer;
TimerMode timerMode;
};