diff options
Diffstat (limited to 'lib/kross/test/testplugin.h')
-rw-r--r-- | lib/kross/test/testplugin.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/lib/kross/test/testplugin.h b/lib/kross/test/testplugin.h index 5253becf..a3b0fdbf 100644 --- a/lib/kross/test/testplugin.h +++ b/lib/kross/test/testplugin.h @@ -25,17 +25,17 @@ #include "../api/class.h" #include "../api/proxy.h" #include "../api/module.h" -#include "../api/qtobject.h" +#include "../api/tqtobject.h" -#include <qobject.h> -#include <qstring.h> +#include <tqobject.h> +#include <tqstring.h> class TestPluginObject : public Kross::Api::Class<TestPluginObject> { public: - TestPluginObject(const QString& name); + TestPluginObject(const TQString& name); virtual ~TestPluginObject(); - virtual const QString getClassName() const; + virtual const TQString getClassName() const; private: uint uintfunc(uint); @@ -43,16 +43,16 @@ class TestPluginObject : public Kross::Api::Class<TestPluginObject> int intfunc(int); bool boolfunc(bool); double doublefunc(double); - QCString cstringfunc(const QCString&); - QString stringfunc(const QString&); - QStringList stringlistfunc(const QStringList&); - QVariant variantfunc(const QVariant&); + TQCString cstringfunc(const TQCString&); + TQString stringfunc(const TQString&); + TQStringList stringlistfunc(const TQStringList&); + TQVariant variantfunc(const TQVariant&); TestPluginObject* objectfunc(TestPluginObject* obj); - QString stringstringfunc(const QString&, const QString&); - uint uintdoublestringfunc(uint, double, const QString&); - QStringList stringlistbooluintdouble(const QStringList&, bool, uint, double); + TQString stringstringfunc(const TQString&, const TQString&); + uint uintdoublestringfunc(uint, double, const TQString&); + TQStringList stringlistbooluintdouble(const TQStringList&, bool, uint, double); }; class TestObject; @@ -60,11 +60,11 @@ class TestObject; class TestPluginModule : public Kross::Api::Module { public: - TestPluginModule(const QString& name); + TestPluginModule(const TQString& name); virtual ~TestPluginModule(); - virtual const QString getClassName() const; + virtual const TQString getClassName() const; - virtual Kross::Api::Object::Ptr get(const QString& /*name*/, void* /*pointer*/ = 0) + virtual Kross::Api::Object::Ptr get(const TQString& /*name*/, void* /*pointer*/ = 0) { return 0; } |