diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 6e21bc798ba1066147d69dcc2d5c222ffafb9a90 (patch) | |
tree | 36613dfe2f86f8ccb96a30f3880507341228eeb0 /kab | |
parent | 1e9fe867b0def399c63c42f35e83c3575e91ff83 (diff) | |
download | tdelibs-6e21bc798ba1066147d69dcc2d5c222ffafb9a90.tar.gz tdelibs-6e21bc798ba1066147d69dcc2d5c222ffafb9a90.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kab')
-rw-r--r-- | kab/qconfigDB.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kab/qconfigDB.cc b/kab/qconfigDB.cc index d1a676887..b084ccab0 100644 --- a/kab/qconfigDB.cc +++ b/kab/qconfigDB.cc @@ -73,7 +73,7 @@ static void tokenize(list<TQCString>& res, const TQCString& text, char tr, bool while(zwei!=-1) { teil=""; - zwei=text.tqfind(tr, eins); + zwei=text.find(tr, eins); if(zwei!=-1) { teil=text.mid(eins, zwei-eins); @@ -573,7 +573,7 @@ KeyValueMap::insertLine(TQCString line, bool force, bool relax, bool encode) return false; } // ----- - index=line.tqfind('='); + index=line.find('='); if(index==-1) // not found { kdDebug() << "KeyValueMap::insertLine: no \"=\" found in \""<<line<<"\".\n"; @@ -1015,7 +1015,7 @@ KeyValueMap::get(const TQCString& key, list<TQCString>& values) const second=first; for(;;) { - second=raw.tqfind('\\', second); + second=raw.find('\\', second); // ----- this may never be the last and also not the second last // character in a complex string: if(second!=-1) @@ -1124,7 +1124,7 @@ KeyValueMap::get(const TQCString& key, TQStrList& values) const second=first; for(;;) { - second=raw.tqfind('\\', second); + second=raw.find('\\', second); // ----- this may never be the last and also not the second last // character in a complex string: if(second!=-1) @@ -1975,7 +1975,7 @@ QConfigDB::stringToKeylist(const TQCString& desc) } for(;;) { - second=desc.tqfind('/', first); + second=desc.find('/', first); if(second==-1) { if((unsigned)first<desc.length()+1) |