summaryrefslogtreecommitdiffstats
path: root/kmail/configuredialog_p.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
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /kmail/configuredialog_p.cpp
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/configuredialog_p.cpp')
-rw-r--r--kmail/configuredialog_p.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmail/configuredialog_p.cpp b/kmail/configuredialog_p.cpp
index a6705c76b..7a8820236 100644
--- a/kmail/configuredialog_p.cpp
+++ b/kmail/configuredialog_p.cpp
@@ -222,7 +222,7 @@ NewLanguageDialog::NewLanguageDialog( LanguageItemList & suppressedLangs,
// we extract it from the path: "/prefix/de/entry.desktop" -> "de"
TQString acronym = (*it).section( '/', -2, -2 );
- if ( suppressedAcronyms.tqfind( acronym ) == suppressedAcronyms.end() ) {
+ if ( suppressedAcronyms.find( acronym ) == suppressedAcronyms.end() ) {
// not found:
TQString displayname = TQString::tqfromLatin1("%1 (%2)")
.tqarg( name ).tqarg( acronym );
@@ -239,7 +239,7 @@ NewLanguageDialog::NewLanguageDialog( LanguageItemList & suppressedLangs,
TQString NewLanguageDialog::language() const
{
TQString s = mComboBox->currentText();
- int i = s.tqfindRev( '(' );
+ int i = s.findRev( '(' );
return s.mid( i + 1, s.length() - i - 2 );
}
@@ -257,13 +257,13 @@ int LanguageComboBox::insertLanguage( const TQString & language )
TQString name = entry.readEntry( "Name" );
TQString output = TQString::tqfromLatin1("%1 (%2)").tqarg( name ).tqarg( language );
insertItem( TQPixmap( locate("locale", language + flagPng ) ), output );
- return listBox()->index( listBox()->tqfindItem(output) );
+ return listBox()->index( listBox()->findItem(output) );
}
TQString LanguageComboBox::language() const
{
TQString s = currentText();
- int i = s.tqfindRev( '(' );
+ int i = s.findRev( '(' );
return s.mid( i + 1, s.length() - i - 2 );
}
@@ -272,7 +272,7 @@ void LanguageComboBox::setLanguage( const TQString & language )
TQString parenthizedLanguage = TQString::tqfromLatin1("(%1)").tqarg( language );
for (int i = 0; i < count(); i++)
// ### FIXME: use .endWith():
- if ( text(i).tqfind( parenthizedLanguage ) >= 0 ) {
+ if ( text(i).find( parenthizedLanguage ) >= 0 ) {
setCurrentItem(i);
return;
}