diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-13 08:32:36 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-13 08:32:36 +0000 |
commit | f7e71d47719ab6094cf4a9fafffa5ea351973522 (patch) | |
tree | 30834aa632d442019e14f88685001d94657d060b /kab/qconfigDB.cc | |
parent | b31cfd9a1ee986fe2ae9a693f3afd7f171dd897c (diff) | |
download | tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.tar.gz tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.zip |
Initial conversion for TQt for Qt4 3.4.0 TP2
This will also compile with TQt for Qt3, and should not cause any problems
with dependent modules such as kdebase. If it does then it needs to be fixed!
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kab/qconfigDB.cc')
-rw-r--r-- | kab/qconfigDB.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kab/qconfigDB.cc b/kab/qconfigDB.cc index a49388ff9..a682a1ed1 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.find(tr, eins); + zwei=text.tqfind(tr, eins); if(zwei!=-1) { teil=text.mid(eins, zwei-eins); @@ -412,7 +412,7 @@ KeyValueMap::parseComplexString return true; } -QCString +TQCString KeyValueMap::makeComplexString(const TQCString& orig) { register bool GUARD; GUARD=false; @@ -573,7 +573,7 @@ KeyValueMap::insertLine(TQCString line, bool force, bool relax, bool encode) return false; } // ----- - index=line.find('='); + index=line.tqfind('='); 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.find('\\', second); + second=raw.tqfind('\\', 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.find('\\', second); + second=raw.tqfind('\\', second); // ----- this may never be the last and also not the second last // character in a complex string: if(second!=-1) @@ -1725,7 +1725,7 @@ Section::isEndOfSection(TQCString line) // ########################################################################### } -QCString +TQCString Section::nameOfSection(const TQCString& line) { register bool GUARD; GUARD=false; @@ -1975,7 +1975,7 @@ QConfigDB::stringToKeylist(const TQCString& desc) } for(;;) { - second=desc.find('/', first); + second=desc.tqfind('/', first); if(second==-1) { if((unsigned)first<desc.length()+1) @@ -2432,7 +2432,7 @@ QConfigDB::setFileName(const TQString& filename_, bool mustexist, bool readonly_ // ############################################################################ } -QString +TQString QConfigDB::fileName() { // ############################################################################ |