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 | 72aaee9802d447ee21340b011856b9b355a58f1a (patch) | |
tree | f97a68e4f75e6c25c8492e03fdfe6983fb0aa199 /src/modules/options/dialog.cpp | |
parent | 5d03948cd3558c613fae1fad109635f860babcbb (diff) | |
download | kvirc-72aaee9802d447ee21340b011856b9b355a58f1a.tar.gz kvirc-72aaee9802d447ee21340b011856b9b355a58f1a.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/options/dialog.cpp')
-rw-r--r-- | src/modules/options/dialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/options/dialog.cpp b/src/modules/options/dialog.cpp index 10117d27..4f53ad13 100644 --- a/src/modules/options/dialog.cpp +++ b/src/modules/options/dialog.cpp @@ -356,9 +356,9 @@ bool KviOptionsDialog::recursiveSearch(KviOptionsListViewItem * pItem,const TQSt for(int j=0;j<lKeywords.count();j++) { #ifdef COMPILE_USE_QT4 - if(szText.tqfind(lKeywords.at(j),0,false) == -1) + if(szText.find(lKeywords.at(j),0,false) == -1) #else - if(szText.tqfind(*(lKeywords.at(j)),0,false) == -1) + if(szText.find(*(lKeywords.at(j)),0,false) == -1) #endif { bOk = false; @@ -398,7 +398,7 @@ bool KviOptionsDialog::recursiveSearch(KviOptionsListViewItem * pItem,const TQSt { if(pParent->inherits("KviOptionsWidget")) { - bool * pExistingBool = lOptionWidgetsToMark.tqfind(pParent); + bool * pExistingBool = lOptionWidgetsToMark.find(pParent); if(pExistingBool) { if(bOk) @@ -432,8 +432,8 @@ bool KviOptionsDialog::recursiveSearch(KviOptionsListViewItem * pItem,const TQSt TQString szTxt = pTabWidgetToMark->tabLabel(pOptionsWidget); if(KviTQString::equalCIN(szTxt,">>> ",4)) { - szTxt.tqreplace(">>> ",""); - szTxt.tqreplace(" <<<",""); + szTxt.replace(">>> ",""); + szTxt.replace(" <<<",""); } if(*pBool) { |