diff options
Diffstat (limited to 'wizards/kmailchanges.cpp')
-rw-r--r-- | wizards/kmailchanges.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wizards/kmailchanges.cpp b/wizards/kmailchanges.cpp index 86fd05b3f..d5a9fc8c2 100644 --- a/wizards/kmailchanges.cpp +++ b/wizards/kmailchanges.cpp @@ -280,16 +280,16 @@ void CreateDisconnectedImapAccount::apply() es.setSetting( KEMailSettings::EmailAddress, mEmail ); KPIM::IdentityManager identityManager; - if ( !identityManager.allEmails().tqcontains( mEmail ) ) { + if ( !identityManager.allEmails().contains( mEmail ) ) { // Not sure how to name the identity. First one is "Default", next one mAccountName, but then... // let's use the server name after that. TQString accountName = mAccountName; const TQStringList identities = identityManager.identities(); - if ( identities.tqfind( accountName ) != identities.end() ) { + if ( identities.find( accountName ) != identities.end() ) { accountName = mServer; int i = 2; // And if there's already one, number them - while ( identities.tqfind( accountName ) != identities.end() ) { + while ( identities.find( accountName ) != identities.end() ) { accountName = mServer + " " + TQString::number( i++ ); } } |