From f6000cffbc89072156cad7866d179fbd622df317 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 5 Aug 2011 17:12:16 +0000 Subject: Fix missing Q_OBJECT macros git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1245170 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kolf/objects/poolball/poolball.h | 8 +++++++- kolf/objects/test/test.h | 8 +++++++- 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 { -- cgit v1.2.1