From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: 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 --- lib/kross/python/pythonscript.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/kross/python/pythonscript.h') diff --git a/lib/kross/python/pythonscript.h b/lib/kross/python/pythonscript.h index 6cbef6250..b68b9705a 100644 --- a/lib/kross/python/pythonscript.h +++ b/lib/kross/python/pythonscript.h @@ -57,7 +57,7 @@ namespace Kross { namespace Python { * Return a list of callable functionnames this * script spends. */ - virtual const QStringList& getFunctionNames(); + virtual const TQStringList& getFunctionNames(); /** * Execute the script. @@ -67,17 +67,17 @@ namespace Kross { namespace Python { /** * Call a function. */ - virtual Kross::Api::Object::Ptr callFunction(const QString& name, Kross::Api::List::Ptr args); + virtual Kross::Api::Object::Ptr callFunction(const TQString& name, Kross::Api::List::Ptr args); /** * Return a list of class types this script supports. */ - virtual const QStringList& getClassNames(); + virtual const TQStringList& getClassNames(); /** * Create and return a new class instance. */ - virtual Kross::Api::Object::Ptr classInstance(const QString& name); + virtual Kross::Api::Object::Ptr classInstance(const TQString& name); private: /// Private d-pointer class. @@ -89,7 +89,7 @@ namespace Kross { namespace Python { void finalize(); /// \return a \a Kross::Api::Exception instance. - Kross::Api::Exception::Ptr toException(const QString& error); + Kross::Api::Exception::Ptr toException(const TQString& error); }; }} -- cgit v1.2.3