summaryrefslogtreecommitdiffstats
path: root/akonadish/syntax_modules/akonadi_count.cpp
diff options
context:
space:
mode:
authorAaron Seigo <aseigo@kde.org>2015-12-28 22:00:19 +0100
committerAaron Seigo <aseigo@kde.org>2015-12-28 22:00:19 +0100
commitcc5363fe4b0cd4ea95ac98d9d37f2028fe226145 (patch)
tree8b6fdc29bb478d6c10daca12706386c01f36e76b /akonadish/syntax_modules/akonadi_count.cpp
parentd456572c4178390a1f539e4923023ec331d2cde3 (diff)
downloadsink-cc5363fe4b0cd4ea95ac98d9d37f2028fe226145.tar.gz
sink-cc5363fe4b0cd4ea95ac98d9d37f2028fe226145.zip
typeCompleter and resourceOrTypeCompleter
Diffstat (limited to 'akonadish/syntax_modules/akonadi_count.cpp')
-rw-r--r--akonadish/syntax_modules/akonadi_count.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/akonadish/syntax_modules/akonadi_count.cpp b/akonadish/syntax_modules/akonadi_count.cpp
index fa3f1fb..5acdcdd 100644
--- a/akonadish/syntax_modules/akonadi_count.cpp
+++ b/akonadish/syntax_modules/akonadi_count.cpp
@@ -75,7 +75,7 @@ bool count(const QStringList &args, State &state)
75Syntax::List syntax() 75Syntax::List syntax()
76{ 76{
77 Syntax count("count", QObject::tr("Returns the number of items of a given type in a resource. Usage: count <type> <resource>"), &AkonadiCount::count, Syntax::EventDriven); 77 Syntax count("count", QObject::tr("Returns the number of items of a given type in a resource. Usage: count <type> <resource>"), &AkonadiCount::count, Syntax::EventDriven);
78 count.completer = &AkonadishUtils::resourceCompleter; 78 count.completer = &AkonadishUtils::typeCompleter;
79 79
80 return Syntax::List() << count; 80 return Syntax::List() << count;
81} 81}