diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:42:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:42:31 +0000 |
commit | 576eb4299a00bc053db35414406f46372a0f70f2 (patch) | |
tree | 4c030922d533821db464af566188e7d40cc8848c /kolf/objects/test/test.h | |
parent | 0718336b6017d1a4fc1d626544180a5a2a29ddec (diff) | |
download | tdegames-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/test/test.h')
-rw-r--r-- | kolf/objects/test/test.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kolf/objects/test/test.h b/kolf/objects/test/test.h index 3086a578..06e9f30a 100644 --- a/kolf/objects/test/test.h +++ b/kolf/objects/test/test.h @@ -1,8 +1,8 @@ #ifndef KOLFTEST_H #define KOLFTEST_H -#include <qcanvas.h> -#include <qobject.h> +#include <tqcanvas.h> +#include <tqobject.h> #include <klibloader.h> @@ -11,14 +11,14 @@ class KConfig; -class TestFactory : KLibFactory { Q_OBJECT public: QObject *createObject(QObject *, const char *, const char *, const QStringList & = QStringList()); }; +class TestFactory : KLibFactory { Q_OBJECT public: TQObject *createObject(TQObject *, const char *, const char *, const TQStringList & = TQStringList()); }; -class Test : public QCanvasEllipse, public CanvasItem +class Test : public TQCanvasEllipse, public CanvasItem { public: - Test(QCanvas *canvas); + Test(TQCanvas *canvas); - virtual Config *config(QWidget *parent); + virtual Config *config(TQWidget *parent); virtual void save(KConfig *cfg); virtual void load(KConfig *cfg); @@ -37,7 +37,7 @@ class TestConfig : public Config Q_OBJECT public: - TestConfig(Test *test, QWidget *parent); + TestConfig(Test *test, TQWidget *parent); private slots: void switchEveryChanged(int news); @@ -50,7 +50,7 @@ class TestObj : public Object { public: TestObj() { m_name = i18n("Flash"); m__name = "flash"; m_author = "Jason Katz-Brown"; } - virtual QCanvasItem *newObject(QCanvas *canvas) { return new Test(canvas); } + virtual TQCanvasItem *newObject(TQCanvas *canvas) { return new Test(canvas); } }; #endif |