summaryrefslogtreecommitdiffstats
path: root/kolf/objects/poolball/poolball.h
diff options
context:
space:
mode:
Diffstat (limited to 'kolf/objects/poolball/poolball.h')
-rw-r--r--kolf/objects/poolball/poolball.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kolf/objects/poolball/poolball.h b/kolf/objects/poolball/poolball.h
index eeb851b2..82b1dd68 100644
--- a/kolf/objects/poolball/poolball.h
+++ b/kolf/objects/poolball/poolball.h
@@ -1,9 +1,9 @@
#ifndef KOLFPOOLBALL_H
#define KOLFPOOLBALL_H
-#include <qcanvas.h>
-#include <qobject.h>
-#include <qpainter.h>
+#include <tqcanvas.h>
+#include <tqobject.h>
+#include <tqpainter.h>
#include <klibloader.h>
@@ -15,21 +15,21 @@
class StateDB;
class KConfig;
-class PoolBallFactory : KLibFactory { Q_OBJECT public: QObject *createObject(QObject *, const char *, const char *, const QStringList & = QStringList()); };
+class PoolBallFactory : KLibFactory { Q_OBJECT public: TQObject *createObject(TQObject *, const char *, const char *, const TQStringList & = TQStringList()); };
class PoolBall : public Ball
{
public:
- PoolBall(QCanvas *canvas);
+ PoolBall(TQCanvas *canvas);
virtual bool deleteable() const { return true; }
- virtual Config *config(QWidget *parent);
+ virtual Config *config(TQWidget *parent);
virtual void saveState(StateDB *);
virtual void save(KConfig *cfg);
virtual void loadState(StateDB *);
virtual void load(KConfig *cfg);
- virtual void draw(QPainter &);
+ virtual void draw(TQPainter &);
virtual bool fastAdvance() const { return true; }
int number() const { return m_number; }
@@ -44,7 +44,7 @@ class PoolBallConfig : public Config
Q_OBJECT
public:
- PoolBallConfig(PoolBall *poolBall, QWidget *parent);
+ PoolBallConfig(PoolBall *poolBall, TQWidget *parent);
private slots:
void numberChanged(int);
@@ -57,7 +57,7 @@ class PoolBallObj : public Object
{
public:
PoolBallObj() { m_name = i18n("Pool Ball"); m__name = "poolball"; m_author = "Jason Katz-Brown"; }
- virtual QCanvasItem *newObject(QCanvas *canvas) { return new PoolBall(canvas); }
+ virtual TQCanvasItem *newObject(TQCanvas *canvas) { return new PoolBall(canvas); }
};
#endif