diff options
author | Aaron Seigo <aseigo@kde.org> | 2015-12-28 22:00:19 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2015-12-28 22:00:19 +0100 |
commit | cc5363fe4b0cd4ea95ac98d9d37f2028fe226145 (patch) | |
tree | 8b6fdc29bb478d6c10daca12706386c01f36e76b /akonadish/syntax_modules/akonadi_count.cpp | |
parent | d456572c4178390a1f539e4923023ec331d2cde3 (diff) | |
download | sink-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.cpp | 2 |
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) | |||
75 | Syntax::List syntax() | 75 | Syntax::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 | } |