summaryrefslogtreecommitdiffstats
path: root/kmail/accountwizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/accountwizard.cpp')
-rw-r--r--kmail/accountwizard.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmail/accountwizard.cpp b/kmail/accountwizard.cpp
index 0ae07d6c1..be69edd0f 100644
--- a/kmail/accountwizard.cpp
+++ b/kmail/accountwizard.cpp
@@ -153,7 +153,7 @@ void AccountWizard::showPage( TQWidget *page )
if ( mLoginName->text().isEmpty() ) {
// try to extract login from email address
TQString email = mEMailAddress->text();
- int pos = email.tqfind( '@' );
+ int pos = email.find( '@' );
if ( pos != -1 )
mLoginName->setText( email.left( pos ) );
@@ -329,7 +329,7 @@ TQString AccountWizard::accountName() const
TQString name( i18n( "None" ) );
TQString email = mEMailAddress->text();
- int pos = email.tqfind( '@' );
+ int pos = email.find( '@' );
if ( pos != -1 ) {
name = email.mid( pos + 1 );
name[ 0 ] = name[ 0 ].upper();
@@ -652,7 +652,7 @@ void AccountWizard::smtpCapabilities( const TQStringList &capaNormal,
if ( authNone.isEmpty() && authSSL.isEmpty() && authTLS.isEmpty() ) {
// slave doesn't seem to support "* AUTH METHODS" metadata (or server can't do AUTH)
authBitsNone = authMethodsFromStringList( capaNormal );
- if ( capaNormal.tqfindIndex( "STARTTLS" ) != -1 )
+ if ( capaNormal.findIndex( "STARTTLS" ) != -1 )
authBitsTLS = authBitsNone;
else
authBitsTLS = 0;
@@ -664,7 +664,7 @@ void AccountWizard::smtpCapabilities( const TQStringList &capaNormal,
}
uint authBits = 0;
- if ( capaNormal.tqfindIndex( "STARTTLS" ) != -1 ) {
+ if ( capaNormal.findIndex( "STARTTLS" ) != -1 ) {
mTransportInfo->encryption = "TLS";
authBits = authBitsTLS;
} else if ( !capaSSL.isEmpty() ) {