summaryrefslogtreecommitdiffstats
path: root/akonadi2_cli/syntaxtree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akonadi2_cli/syntaxtree.cpp')
-rw-r--r--akonadi2_cli/syntaxtree.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/akonadi2_cli/syntaxtree.cpp b/akonadi2_cli/syntaxtree.cpp
index cebfc4b..0cd3e3f 100644
--- a/akonadi2_cli/syntaxtree.cpp
+++ b/akonadi2_cli/syntaxtree.cpp
@@ -26,6 +26,7 @@
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#include "syntax_modules/akonadi_list.h"
29#include "syntax_modules/akonadi_count.h"
29 30
30SyntaxTree *SyntaxTree::s_module = 0; 31SyntaxTree *SyntaxTree::s_module = 0;
31 32
@@ -46,6 +47,7 @@ SyntaxTree::SyntaxTree()
46 QVector<std::function<Syntax::List()> > syntaxSyntaxTrees; 47 QVector<std::function<Syntax::List()> > syntaxSyntaxTrees;
47 syntaxSyntaxTrees << &CoreSyntax::syntax 48 syntaxSyntaxTrees << &CoreSyntax::syntax
48 << &AkonadiList::syntax 49 << &AkonadiList::syntax
50 << &AkonadiCount::syntax
49 ; 51 ;
50 for (auto syntaxSyntaxTree: syntaxSyntaxTrees) { 52 for (auto syntaxSyntaxTree: syntaxSyntaxTrees) {
51 m_syntax += syntaxSyntaxTree(); 53 m_syntax += syntaxSyntaxTree();