summaryrefslogtreecommitdiff
path: root/migrationutility/kolabserver.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2013-02-19 12:17:11 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2013-02-19 12:17:11 (GMT)
commite2096af0680d0ba7ceba7897ccfeda3f05202350 (patch)
tree8261082aa23f03311d870c6d9f02e35cc1311365 /migrationutility/kolabserver.cpp
parent848c0a64b6f4a3e61b40fd3d2a1d11a9b18d8d9a (diff)
downloadkolab-utils-e2096af0680d0ba7ceba7897ccfeda3f05202350.tar.gz
Enable setting the ecryption/authentication modes for target servers.
Diffstat (limited to 'migrationutility/kolabserver.cpp')
-rw-r--r--migrationutility/kolabserver.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/migrationutility/kolabserver.cpp b/migrationutility/kolabserver.cpp
index b04307f..9e5a520 100644
--- a/migrationutility/kolabserver.cpp
+++ b/migrationutility/kolabserver.cpp
@@ -47,6 +47,16 @@ void KolabServer::setAdminCredentials(const QString& username, const QString& pw
mPw = pw;
}
+void KolabServer::setEncryption(KIMAP::LoginJob::EncryptionMode enc)
+{
+ mEncryptionMode = enc;
+}
+
+void KolabServer::setAuthentication(KIMAP::LoginJob::AuthenticationMode auth)
+{
+ mAuthenticationMode = auth;
+}
+
void KolabServer::setDryRun(bool enable)
{
mDryRun = enable;