summaryrefslogtreecommitdiffstats
path: root/kolf/objects/poolball/poolball.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /kolf/objects/poolball/poolball.h
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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