summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
{