summaryrefslogtreecommitdiff
path: root/fbdaemon
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2013-02-22 10:36:57 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2013-02-22 10:36:57 (GMT)
commit628b52adcf64a9c785c6c84599b38c6af8dab3eb (patch)
tree88fbe59f9ac4a93801525511cc47cfa2b25fb83d /fbdaemon
parent87bfd21a4067f56af2b4c1639763b625dac2833a (diff)
downloadkolab-utils-628b52adcf64a9c785c6c84599b38c6af8dab3eb.tar.gz
Fix GetUserListJob to work with multiple domains.
Diffstat (limited to 'fbdaemon')
-rw-r--r--fbdaemon/fbcoordinator.cpp4
-rw-r--r--fbdaemon/main.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/fbdaemon/fbcoordinator.cpp b/fbdaemon/fbcoordinator.cpp
index 27bb782..b236a02 100644
--- a/fbdaemon/fbcoordinator.cpp
+++ b/fbdaemon/fbcoordinator.cpp
@@ -43,7 +43,7 @@ class UiProxy: public KIMAP::SessionUiProxy {
}
};
-void FBCoordinator::generateForAllUsers(const QString &domain)
+void FBCoordinator::generateForAllUsers(const QString &filter)
{
if (!mUserQueue.isEmpty()) {
Warning() << "there is an existing processing queue, aborting";
@@ -68,7 +68,7 @@ void FBCoordinator::generateForAllUsers(const QString &domain)
sequentialJob->addSubjob(authJob);
GetUserListJob *getUsersJob = new GetUserListJob(mSession, this);
- getUsersJob->setFilterDomain(domain);
+ getUsersJob->setFilterDomain(filter);
sequentialJob->addSubjob(getUsersJob);
//FIXME use sequentialJob result (abort in case of failure)
connect(getUsersJob, SIGNAL(result(KJob*)), this, SLOT(onGotUserList(KJob*)));
diff --git a/fbdaemon/main.cpp b/fbdaemon/main.cpp
index 849c97a..3c6915f 100644
--- a/fbdaemon/main.cpp
+++ b/fbdaemon/main.cpp
@@ -34,7 +34,7 @@ int main(int argc, char *argv[])
options.add("a").add("aggregate", ki18n("Aggregate partial f/b lists for user"));
options.add("d").add("daemon", ki18n("Run daemon (todo)"));
options.add("generateall", ki18n("Generate and aggregate for all users within domain"));
- options.add("+[user/domain]", ki18n("User for generation/aggregation | Domain for which freebusy is generated"));
+ options.add("+[user/filter]", ki18n("User for generation/aggregation | Contains-Filter for userlist for which freebusy is generated (leave empty to generate for all)"));
KCmdLineArgs::addCmdLineOptions( options );