From f7e71d47719ab6094cf4a9fafffa5ea351973522 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 13 Jan 2011 08:32:36 +0000 Subject: 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 --- kab/qconfigDB.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kab/qconfigDB.cc') 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& 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 \""<& 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