summaryrefslogtreecommitdiffstats
path: root/ksirc/KSPrefs/page_general.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit937b2991d8e78166eea904c80ad04d34607017a4 (patch)
tree2accb8161eab09df5d7a5484ea9ea080ad123168 /ksirc/KSPrefs/page_general.cpp
parentdba26cb985af370c33d1767037851705cc561726 (diff)
downloadtdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.tar.gz
tdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/KSPrefs/page_general.cpp')
-rw-r--r--ksirc/KSPrefs/page_general.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ksirc/KSPrefs/page_general.cpp b/ksirc/KSPrefs/page_general.cpp
index 119201e1..f90016a5 100644
--- a/ksirc/KSPrefs/page_general.cpp
+++ b/ksirc/KSPrefs/page_general.cpp
@@ -87,15 +87,15 @@ void PageGeneral::readConfig( const KSOGeneral *opts )
// remove utf16/ucs2 as it just doesn't work for IRC
TQStringList::Iterator encodingIt = encodings.begin();
while ( encodingIt != encodings.end() ) {
- if ( ( *encodingIt ).tqfind( "utf16" ) != -1 ||
- ( *encodingIt ).tqfind( "iso-10646" ) != -1 )
+ if ( ( *encodingIt ).find( "utf16" ) != -1 ||
+ ( *encodingIt ).find( "iso-10646" ) != -1 )
encodingIt = encodings.remove( encodingIt );
else
++encodingIt;
}
encodings.prepend( i18n( "Default" ) );
encodingsCB->insertStringList(encodings);
- int eindex = encodings.tqfindIndex(ksopts->channel["global"]["global"].encoding);
+ int eindex = encodings.findIndex(ksopts->channel["global"]["global"].encoding);
if(eindex == -1)
encodingsCB->setCurrentItem(0);
else