diff options
Diffstat (limited to 'kmail/configuredialog_p.cpp')
-rw-r--r-- | kmail/configuredialog_p.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmail/configuredialog_p.cpp b/kmail/configuredialog_p.cpp index ff473f668..098e90870 100644 --- a/kmail/configuredialog_p.cpp +++ b/kmail/configuredialog_p.cpp @@ -225,7 +225,7 @@ NewLanguageDialog::NewLanguageDialog( LanguageItemList & suppressedLangs, if ( suppressedAcronyms.tqfind( acronym ) == suppressedAcronyms.end() ) { // not found: TQString displayname = TQString::tqfromLatin1("%1 (%2)") - .arg( name ).arg( acronym ); + .tqarg( name ).tqarg( acronym ); TQPixmap flag( locate("locale", acronym + flagPng ) ); mComboBox->insertItem( flag, displayname ); } @@ -239,7 +239,7 @@ NewLanguageDialog::NewLanguageDialog( LanguageItemList & suppressedLangs, TQString NewLanguageDialog::language() const { TQString s = mComboBox->currentText(); - int i = s.findRev( '(' ); + int i = s.tqfindRev( '(' ); return s.mid( i + 1, s.length() - i - 2 ); } @@ -255,21 +255,21 @@ int LanguageComboBox::insertLanguage( const TQString & language ) KSimpleConfig entry( locate("locale", language + entryDesktop) ); entry.setGroup( "KCM Locale" ); TQString name = entry.readEntry( "Name" ); - TQString output = TQString::tqfromLatin1("%1 (%2)").arg( name ).arg( language ); + TQString output = TQString::tqfromLatin1("%1 (%2)").tqarg( name ).tqarg( language ); insertItem( TQPixmap( locate("locale", language + flagPng ) ), output ); - return listBox()->index( listBox()->findItem(output) ); + return listBox()->index( listBox()->tqfindItem(output) ); } TQString LanguageComboBox::language() const { TQString s = currentText(); - int i = s.findRev( '(' ); + int i = s.tqfindRev( '(' ); return s.mid( i + 1, s.length() - i - 2 ); } void LanguageComboBox::setLanguage( const TQString & language ) { - TQString tqparenthizedLanguage = TQString::tqfromLatin1("(%1)").arg( language ); + TQString tqparenthizedLanguage = TQString::tqfromLatin1("(%1)").tqarg( language ); for (int i = 0; i < count(); i++) // ### FIXME: use .endWith(): if ( text(i).tqfind( tqparenthizedLanguage ) >= 0 ) { |