summaryrefslogtreecommitdiffstats
path: root/kmail/imapaccountbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/imapaccountbase.cpp')
-rw-r--r--kmail/imapaccountbase.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmail/imapaccountbase.cpp b/kmail/imapaccountbase.cpp
index 47d169f9b..6a042c46a 100644
--- a/kmail/imapaccountbase.cpp
+++ b/kmail/imapaccountbase.cpp
@@ -150,7 +150,7 @@ namespace KMail {
}
TQString ImapAccountBase::protocol() const {
- return useSSL() ? IMAP_SSL_PROTOCOL : IMAP_PROTOCOL;
+ return useTLS() ? IMAP_SSL_PROTOCOL : IMAP_PROTOCOL;
}
//
@@ -643,7 +643,7 @@ namespace KMail {
jd.progressItem = ProgressManager::createProgressItem(
ProgressManager::getUniqueID(),
i18n("Retrieving Namespaces"),
- TQString(), true, useSSL() || useTLS() );
+ TQString(), true, useSTARTTLS() || useTLS() );
jd.progressItem->setTotalItems( 1 );
connect ( jd.progressItem,
TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem* ) ),
@@ -1297,7 +1297,7 @@ namespace KMail {
TQStyleSheet::escape( name() ),
i18n("retrieving folders"),
true,
- useSSL() || useTLS() );
+ useSTARTTLS() || useTLS() );
connect ( mListDirProgressItem,
TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem* ) ),
this,