diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /lib/kross/test/testplugin.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; } |