summaryrefslogtreecommitdiffstats
path: root/kgoldrunner/src/kgrobject.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 /kgoldrunner/src/kgrobject.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 'kgoldrunner/src/kgrobject.h')
-rw-r--r--kgoldrunner/src/kgrobject.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/kgoldrunner/src/kgrobject.h b/kgoldrunner/src/kgrobject.h
index cc262d0d..e7445873 100644
--- a/kgoldrunner/src/kgrobject.h
+++ b/kgoldrunner/src/kgrobject.h
@@ -26,9 +26,10 @@
class KGrCanvas;
-class KGrObject : public QObject
+class KGrObject : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
KGrObject (char objType);
virtual ~KGrObject();
@@ -53,6 +54,7 @@ protected:
class KGrEditable : public KGrObject
{
Q_OBJECT
+ TQ_OBJECT
public:
KGrEditable (char editType);
virtual ~KGrEditable ();
@@ -61,6 +63,7 @@ public:
class KGrFree : public KGrObject
{ Q_OBJECT
+ TQ_OBJECT
public:
KGrFree (char objType, int i, int j, KGrCanvas * view);
virtual ~KGrFree();
@@ -73,6 +76,7 @@ protected:
class KGrBrick : public KGrObject
{
Q_OBJECT
+ TQ_OBJECT
public:
KGrBrick (char objType, int i, int j, KGrCanvas * view);
virtual ~KGrBrick();
@@ -97,6 +101,7 @@ private:
class KGrHladder : public KGrFree
{
Q_OBJECT
+ TQ_OBJECT
public:
// BUG FIX - Ian W., 21/6/01 - must inherit "setNugget()" from "KGrFree".
KGrHladder (char objType, int i, int j, KGrCanvas * view);