summaryrefslogtreecommitdiffstats
path: root/kmines/dialogs.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 /kmines/dialogs.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 'kmines/dialogs.h')
-rw-r--r--kmines/dialogs.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/kmines/dialogs.h b/kmines/dialogs.h
index 15321a49..f900f7e6 100644
--- a/kmines/dialogs.h
+++ b/kmines/dialogs.h
@@ -34,9 +34,10 @@ class KIntNumInput;
class Smiley : public TQPushButton, public KMines
{
Q_OBJECT
+ TQ_OBJECT
public:
- Smiley(TQWidget *parent, const char *name = 0)
- : TQPushButton(TQString::null, parent, name) {}
+ Smiley(TQWidget *tqparent, const char *name = 0)
+ : TQPushButton(TQString(), tqparent, name) {}
public slots:
void setMood(Mood);
@@ -49,8 +50,9 @@ class Smiley : public TQPushButton, public KMines
class DigitalClock : public KGameLCDClock
{
Q_OBJECT
+ TQ_OBJECT
public:
- DigitalClock(TQWidget *parent);
+ DigitalClock(TQWidget *tqparent);
void reset(bool customGame);
@@ -76,6 +78,7 @@ class DigitalClock : public KGameLCDClock
class CustomConfig : public TQWidget, public KMines
{
Q_OBJECT
+ TQ_OBJECT
public:
CustomConfig();
@@ -100,6 +103,7 @@ class CustomConfig : public TQWidget, public KMines
class GameConfig : public TQWidget, public KMines
{
Q_OBJECT
+ TQ_OBJECT
public:
GameConfig();
@@ -118,6 +122,7 @@ class GameConfig : public TQWidget, public KMines
class AppearanceConfig : public TQWidget, public KMines
{
Q_OBJECT
+ TQ_OBJECT
public:
AppearanceConfig();
};