diff options
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; }; |