diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:48:49 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:48:49 -0600 |
commit | 13281e2856a2ef43bbab78c5528470309c23aa77 (patch) | |
tree | 936bcf8145dc235004c73e9fb3d6b3dca9aa370b /kab/qconfigDB.cc | |
parent | e81c741bb2cf337a43524e75f22f7728ce17a343 (diff) | |
download | tdelibs-13281e2856a2ef43bbab78c5528470309c23aa77.tar.gz tdelibs-13281e2856a2ef43bbab78c5528470309c23aa77.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kab/qconfigDB.cc')
-rw-r--r-- | kab/qconfigDB.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kab/qconfigDB.cc b/kab/qconfigDB.cc index b084ccab0..debd7a01d 100644 --- a/kab/qconfigDB.cc +++ b/kab/qconfigDB.cc @@ -25,7 +25,7 @@ extern "C" { } // #include <tqstring.h> -#include <tqtextstream.h> +#include <textstream.h> #include <tqfile.h> #include <tqtimer.h> #include <tqdatetime.h> @@ -1188,7 +1188,7 @@ KeyValueMap::insert(const TQCString& key, const TQStrList& values, bool force) // ----- create coded string list: for(count=0; count<values.count(); ++count) { // create strings like "abc\efgh\eijk": - temp=makeComplexString(((TQStrList)values).tqat(count)); + temp=makeComplexString(((TQStrList)values).at(count)); temp.remove(0, 1); // remove the leading "\"" temp.remove(temp.length()-1, 1); // the trailing "\"" value+=temp; @@ -1231,7 +1231,7 @@ KeyValueMap::get(const TQCString& key, TQStringList& values) const // ----- do the conversion: for(count=0; count<temp.count(); ++count) { - values.append(TQString::fromUtf8(temp.tqat(count))); + values.append(TQString::fromUtf8(temp.at(count))); } // ----- kdDebug(GUARD, KAB_KDEBUG_AREA) << "KeyValueMap::get[QStringList]: done." << endl; @@ -1252,7 +1252,7 @@ KeyValueMap::insert(const TQCString& key, const TQStringList& values, bool force // ----- create TQCString list: for(count=0; count<values.count(); ++count) { - utf8strings.append((*values.tqat(count)).utf8()); + utf8strings.append((*values.at(count)).utf8()); } kdDebug(GUARD, KAB_KDEBUG_AREA) << "KeyValueMap::insert[QStringList]: done." << endl; return insert(key, utf8strings, force); |