summaryrefslogtreecommitdiff
path: root/migrationutility/kolabserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'migrationutility/kolabserver.cpp')
-rw-r--r--migrationutility/kolabserver.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/migrationutility/kolabserver.cpp b/migrationutility/kolabserver.cpp
index 01a54b0..927eec9 100644
--- a/migrationutility/kolabserver.cpp
+++ b/migrationutility/kolabserver.cpp
@@ -72,6 +72,12 @@ void KolabServer::setWipeTargetFolders(bool enable)
mWipeTargetFolders = enable;
}
+void KolabServer::setRegextrans(const QStringList &regextrans)
+{
+ Debug() << "Regextrans: " << regextrans;
+ mRegextrans = regextrans;
+}
+
KolabAccount* KolabServer::getAccount(const QString& user)
{
KolabAccount *account = new KolabAccount(this);
@@ -85,6 +91,7 @@ KolabAccount* KolabServer::getAccount(const QString& user)
account->setDryRun(mDryRun);
account->setWipeTargetFolders(mWipeTargetFolders);
account->setVersion(mVersion);
+ account->setRegextrans(mRegextrans);
if (!account->init()) {
account->deleteLater();
return 0;