diff options
author | Aaron Seigo <aseigo@kde.org> | 2015-12-23 20:23:50 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2015-12-23 20:23:50 +0100 |
commit | 26c510ace968af7d4c82c1f192bc8cdcb3505910 (patch) | |
tree | 584d4a0f6081f04e929a2d8f9821940e6b2883c9 /akonadi2_cli/syntaxtree.cpp | |
parent | 0a882e76dde2795f2f74ca28f775a74ac7177f54 (diff) | |
download | sink-26c510ace968af7d4c82c1f192bc8cdcb3505910.tar.gz sink-26c510ace968af7d4c82c1f192bc8cdcb3505910.zip |
akonadi list
Diffstat (limited to 'akonadi2_cli/syntaxtree.cpp')
-rw-r--r-- | akonadi2_cli/syntaxtree.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/akonadi2_cli/syntaxtree.cpp b/akonadi2_cli/syntaxtree.cpp index e87b291..5dd4c54 100644 --- a/akonadi2_cli/syntaxtree.cpp +++ b/akonadi2_cli/syntaxtree.cpp | |||
@@ -25,6 +25,7 @@ | |||
25 | // TODO: needs a proper registry; making "core" modules plugins is | 25 | // TODO: needs a proper registry; making "core" modules plugins is |
26 | // almost certainly overkill, but this is not the way either | 26 | // almost certainly overkill, but this is not the way either |
27 | #include "syntax_modules/core_syntax.h" | 27 | #include "syntax_modules/core_syntax.h" |
28 | #include "syntax_modules/akonadi_list.h" | ||
28 | 29 | ||
29 | SyntaxTree *SyntaxTree::s_module = 0; | 30 | SyntaxTree *SyntaxTree::s_module = 0; |
30 | 31 | ||
@@ -43,7 +44,9 @@ SyntaxTree::Syntax::Syntax(const QString &k, const QString &helpText, std::funct | |||
43 | SyntaxTree::SyntaxTree() | 44 | SyntaxTree::SyntaxTree() |
44 | { | 45 | { |
45 | QVector<std::function<SyntaxList()> > syntaxSyntaxTrees; | 46 | QVector<std::function<SyntaxList()> > syntaxSyntaxTrees; |
46 | syntaxSyntaxTrees << &CoreSyntax::syntax; | 47 | syntaxSyntaxTrees << &CoreSyntax::syntax |
48 | << &AkonadiList::syntax | ||
49 | ; | ||
47 | for (auto syntaxSyntaxTree: syntaxSyntaxTrees) { | 50 | for (auto syntaxSyntaxTree: syntaxSyntaxTrees) { |
48 | m_syntax += syntaxSyntaxTree(); | 51 | m_syntax += syntaxSyntaxTree(); |
49 | } | 52 | } |