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/main/manager.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'lib/kross/main/manager.h') diff --git a/lib/kross/main/manager.h b/lib/kross/main/manager.h index 0de5833f..fe815e7c 100644 --- a/lib/kross/main/manager.h +++ b/lib/kross/main/manager.h @@ -20,13 +20,13 @@ #ifndef KROSS_API_MANAGER_H #define KROSS_API_MANAGER_H -#include -#include -#include -//#include +#include +#include +#include +//#include #include -class QObject; +class TQObject; #include "../api/object.h" #include "mainmodule.h" @@ -78,20 +78,20 @@ namespace Kross { namespace Api { * \return a map with \a InterpreterInfo* instances * used to describe interpreters. */ - QMap getInterpreterInfos(); + TQMap getInterpreterInfos(); /** * \return true if there exists an interpreter with the * name \p interpretername else false. */ - bool hasInterpreterInfo(const QString& interpretername) const; + bool hasInterpreterInfo(const TQString& interpretername) const; /** * \return the \a InterpreterInfo* matching to the defined * \p interpretername or NULL if there does not exists such * a interpreter. */ - InterpreterInfo* getInterpreterInfo(const QString& interpretername); + InterpreterInfo* getInterpreterInfo(const TQString& interpretername); /** * \return the name of the \a Interpreter that feels responsible @@ -100,10 +100,10 @@ namespace Kross { namespace Api { * \param file The filename we should try to determinate the * interpretername for. * \return The name of the \a Interpreter which will be used - * to execute the file or QString::null if we failed + * to execute the file or TQString() if we failed * to determinate a matching interpreter for the file. */ - const QString getInterpreternameForFile(const QString& file); + const TQString getInterpreternameForFile(const TQString& file); /** * Return the existing \a ScriptContainer with scriptname @@ -116,7 +116,7 @@ namespace Kross { namespace Api { * \return The \a ScriptContainer instance matching to * scriptname. */ - KSharedPtr getScriptContainer(const QString& scriptname); + KSharedPtr getScriptContainer(const TQString& scriptname); /** * Return the \a Interpreter instance defined by @@ -128,13 +128,13 @@ namespace Kross { namespace Api { * does not exists an interpreter with such * an interpretername. */ - Interpreter* getInterpreter(const QString& interpretername); + Interpreter* getInterpreter(const TQString& interpretername); /** * \return a list of names of the at the backend * supported interpreters. */ - const QStringList getInterpreters(); + const TQStringList getInterpreters(); /** * Add the an external module to the global shared list of @@ -155,7 +155,7 @@ namespace Kross { namespace Api { * failed. The loaded Module isn't added to the global * shared list of modules. */ - Module::Ptr loadModule(const QString& modulename); + Module::Ptr loadModule(const TQString& modulename); private: /// Private d-pointer class. -- cgit v1.2.1