summaryrefslogtreecommitdiffstats
path: root/kommander/widget/parserdata.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /kommander/widget/parserdata.cpp
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-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.cpp')
-rw-r--r--kommander/widget/parserdata.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kommander/widget/parserdata.cpp b/kommander/widget/parserdata.cpp
index f803283e..274d7220 100644
--- a/kommander/widget/parserdata.cpp
+++ b/kommander/widget/parserdata.cpp
@@ -25,24 +25,24 @@ KeywordGroup ParserData::keywordGroup(Keyword k) const
return GroupMisc;
}
-Keyword ParserData::stringToKeyword(const QString& s) const
+Keyword ParserData::stringToKeyword(const TQString& s) const
{
- QString k = s.lower();
+ TQString k = s.lower();
if (m_keywords.contains(k))
return m_keywords[k];
else
return Variable;
}
-QString ParserData::keywordToString(Parse::Keyword k) const
+TQString ParserData::keywordToString(Parse::Keyword k) const
{
- for (QMapConstIterator<QString, Keyword> it = m_keywords.begin(); it != m_keywords.end(); ++it)
+ for (TQMapConstIterator<TQString, Keyword> it = m_keywords.begin(); it != m_keywords.end(); ++it)
if (it.data() == k)
return it.key();
- return QString();
+ return TQString();
}
-bool ParserData::registerFunction(const QString& name, Function f)
+bool ParserData::registerFunction(const TQString& name, Function f)
{
m_functions[name.lower()] = f;
return true;
@@ -114,12 +114,12 @@ ParserData::ParserData()
registerStandardFunctions();
}
-bool ParserData::isFunction(const QString& name) const
+bool ParserData::isFunction(const TQString& name) const
{
return m_functions.contains(name.lower());
}
-const Function& ParserData::function(const QString& name) const
+const Function& ParserData::function(const TQString& name) const
{
return m_functions[name.lower()];
}