summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-05 17:12:16 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-05 17:12:16 +0000
commitf6000cffbc89072156cad7866d179fbd622df317 (patch)
treecccc38a6e0cfca4659d7762defcfa136b2f57597
parentc406d61deefc0c3e3173ebe77bfb38a1bc453ce7 (diff)
downloadtdegames-f6000cffbc89072156cad7866d179fbd622df317.tar.gz
tdegames-f6000cffbc89072156cad7866d179fbd622df317.zip
Fix missing Q_OBJECT macros
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1245170 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--kolf/objects/poolball/poolball.h8
-rw-r--r--kolf/objects/test/test.h8
2 files changed, 14 insertions, 2 deletions
diff --git a/kolf/objects/poolball/poolball.h b/kolf/objects/poolball/poolball.h
index 312e1996..fac2ef11 100644
--- a/kolf/objects/poolball/poolball.h
+++ b/kolf/objects/poolball/poolball.h
@@ -15,7 +15,13 @@
class StateDB;
class KConfig;
-class PoolBallFactory : KLibFactory { TQ_OBJECT public: TQObject *createObject(TQObject *, const char *, const char *, const TQStringList & = TQStringList()); };
+class PoolBallFactory : KLibFactory {
+ Q_OBJECT
+ TQ_OBJECT
+
+public:
+ TQObject *createObject(TQObject *, const char *, const char *, const TQStringList & = TQStringList());
+};
class PoolBall : public Ball
{
diff --git a/kolf/objects/test/test.h b/kolf/objects/test/test.h
index 690a7e84..c8fa6838 100644
--- a/kolf/objects/test/test.h
+++ b/kolf/objects/test/test.h
@@ -11,7 +11,13 @@
class KConfig;
-class TestFactory : KLibFactory { TQ_OBJECT public: TQObject *createObject(TQObject *, const char *, const char *, const TQStringList & = TQStringList()); };
+class TestFactory : KLibFactory {
+ Q_OBJECT
+ TQ_OBJECT
+
+public:
+ TQObject *createObject(TQObject *, const char *, const char *, const TQStringList & = TQStringList());
+};
class Test : public TQCanvasEllipse, public CanvasItem
{