diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:54:04 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:54:04 +0000 |
commit | dc6b8e72fed2586239e3514819238c520636c9d9 (patch) | |
tree | 88b200df0a0b7fab9d6f147596173556f1ed9a13 /kommander/widget/parserdata.h | |
parent | 6927d4436e54551917f600b706a8d6109e49de1c (diff) | |
download | tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kommander/widget/parserdata.h')
-rw-r--r-- | kommander/widget/parserdata.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kommander/widget/parserdata.h b/kommander/widget/parserdata.h index 4c7f8d50..e427e600 100644 --- a/kommander/widget/parserdata.h +++ b/kommander/widget/parserdata.h @@ -19,7 +19,7 @@ #include "parsenode.h" #include "function.h" -#include <qmap.h> +#include <tqmap.h> class ParserData { public: @@ -28,22 +28,22 @@ public: /* Return group of given keyword */ Parse::KeywordGroup keywordGroup(Parse::Keyword k) const; /* Convert string to keyword */ - Parse::Keyword stringToKeyword(const QString& s) const; + Parse::Keyword stringToKeyword(const TQString& s) const; /* Convert keyword to string */ - QString keywordToString(Parse::Keyword k) const; + TQString keywordToString(Parse::Keyword k) const; /* register a function */ - bool registerFunction(const QString& name, Function f); + bool registerFunction(const TQString& name, Function f); /* check if this is a name of standard function */ - bool isFunction(const QString& name) const; + bool isFunction(const TQString& name) const; /* Return function with given name. Warning: this function has undefined behavior when there is no such function. */ - const Function& function(const QString& name) const; + const Function& function(const TQString& name) const; private: // register standard function void registerStandardFunctions(); - QMap<QString, Parse::Keyword> m_keywords; - QMap<Parse::Keyword, Parse::KeywordGroup> m_groups; - QMap<QString, Function> m_functions; + TQMap<TQString, Parse::Keyword> m_keywords; + TQMap<Parse::Keyword, Parse::KeywordGroup> m_groups; + TQMap<TQString, Function> m_functions; }; |