summaryrefslogtreecommitdiffstats
path: root/lib/kross/api/script.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /lib/kross/api/script.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-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/api/script.h')
-rw-r--r--lib/kross/api/script.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kross/api/script.h b/lib/kross/api/script.h
index 4f7d0c041..708e90588 100644
--- a/lib/kross/api/script.h
+++ b/lib/kross/api/script.h
@@ -20,8 +20,8 @@
#ifndef KROSS_API_SCRIPT_H
#define KROSS_API_SCRIPT_H
-#include <qstring.h>
-#include <qstringlist.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
#include "class.h"
@@ -97,7 +97,7 @@ namespace Kross { namespace Api {
* \return a list of callable functionnames this
* script spends.
*/
- virtual const QStringList& getFunctionNames() = 0;
+ virtual const TQStringList& getFunctionNames() = 0;
/**
* Call a function.
@@ -107,12 +107,12 @@ namespace Kross { namespace Api {
* \param args Optional arguments passed to the function.
* \return The result of the called function. Could be NULL.
*/
- virtual Kross::Api::Object::Ptr callFunction(const QString& name, Kross::Api::List::Ptr args) = 0;
+ virtual Kross::Api::Object::Ptr callFunction(const TQString& name, Kross::Api::List::Ptr args) = 0;
/**
* \return a list of classnames.
*/
- virtual const QStringList& getClassNames() = 0;
+ virtual const TQStringList& getClassNames() = 0;
/**
* Create and return a new class instance.
@@ -121,7 +121,7 @@ namespace Kross { namespace Api {
* \param name The name of the class to create a instance of.
* \return The new classinstance.
*/
- virtual Kross::Api::Object::Ptr classInstance(const QString& name) = 0;
+ virtual Kross::Api::Object::Ptr classInstance(const TQString& name) = 0;
protected:
/// The \a Interpreter used to create this Script instance.