summaryrefslogtreecommitdiffstats
path: root/kmail/accountwizard.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/accountwizard.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/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() ) {