From 576eb4299a00bc053db35414406f46372a0f70f2 Mon Sep 17 00:00:00 2001 From: tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> Date: Sat, 31 Jul 2010 19:42:31 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kolf/objects/poolball/poolball.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kolf/objects/poolball/poolball.h') 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 -- cgit v1.2.1