summaryrefslogtreecommitdiffstats
path: root/src/swordoptions.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-09-23 00:43:43 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-09-23 00:43:43 +0200
commite03da7a558d79e399e3704a5b2f35646e92dacb7 (patch)
treee9948950e8947f6978fa3270605d04f94216515b /src/swordoptions.cpp
parentb9d8d75902c4603fa10c63735873816556a7468c (diff)
downloadtdeio-sword-e03da7a558d79e399e3704a5b2f35646e92dacb7.tar.gz
tdeio-sword-e03da7a558d79e399e3704a5b2f35646e92dacb7.zip
Initial TQt conversion
Diffstat (limited to 'src/swordoptions.cpp')
-rw-r--r--src/swordoptions.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/swordoptions.cpp b/src/swordoptions.cpp
index 306e548..705d4bb 100644
--- a/src/swordoptions.cpp
+++ b/src/swordoptions.cpp
@@ -57,9 +57,9 @@ namespace KioSword
variants.setup (0, "Variants", "vr", "variants", true);
wholeBook.setup (false, "WholeBook", "wb", "wholebook", false);
doBibleIndex.setup (true, "BibleIndex", "bi", "bibleindex", false);
- doDictIndex.setup (false, QString::null, "di", "dictindex", false);
+ doDictIndex.setup (false, TQString::null, "di", "dictindex", false);
doFullTreeIndex.setup (false, "FullTreeIndex", "fi", "fullindex", false);
- doOtherIndex.setup (false, QString::null, "oi", "otherindex", false);
+ doOtherIndex.setup (false, TQString::null, "oi", "otherindex", false);
defaultBible.setup ("", "DefaultBible", "dfb", "defaultbible", true);
defaultGreekStrongs.setup ("", "DefaultGreekStrongs", "dfgs", "defaultgreekstrongs", true);
defaultHebrewStrongs.setup ("", "DefaultHebrewStrongs", "dfhs", "defaulthebrewstrongs", true);
@@ -114,7 +114,7 @@ namespace KioSword
}
/** Set all (appropriate) options from the query string */
- void SwordOptions::readFromQueryString(QMap<QString, QString> items)
+ void SwordOptions::readFromQueryString(TQMap<TQString, TQString> items)
{
vector<OptionBase*>::const_iterator it;
vector<OptionBase*>::const_iterator it_end = m_optionList.end();
@@ -151,9 +151,9 @@ namespace KioSword
}
/** Get the values that should be used for building a query string */
- QMap<QString, QString> SwordOptions::getQueryStringParams() const
+ TQMap<TQString, TQString> SwordOptions::getQueryStringParams() const
{
- QMap<QString, QString> result;
+ TQMap<TQString, TQString> result;
vector<OptionBase*>::const_iterator it;
@@ -161,8 +161,8 @@ namespace KioSword
for(it = m_optionList.begin(); it != it_end; ++it)
{
- QString name = QString::null;
- QString value = QString::null;
+ TQString name = TQString::null;
+ TQString value = TQString::null;
(*it)->getQueryStringPair(name, value);
if (!name.isNull() && !name.isEmpty())
{