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/main/manager.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/main/manager.h')
-rw-r--r-- | lib/kross/main/manager.h | 28 |
1 files changed, 14 insertions, 14 deletions
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 <qstring.h> -#include <qstringlist.h> -#include <qmap.h> -//#include <qvariant.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <tqmap.h> +//#include <tqvariant.h> #include <ksharedptr.h> -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<QString, InterpreterInfo*> getInterpreterInfos(); + TQMap<TQString, InterpreterInfo*> 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<ScriptContainer> getScriptContainer(const QString& scriptname); + KSharedPtr<ScriptContainer> 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. |