diff options
author | Aaron Seigo <aseigo@kde.org> | 2015-12-23 20:33:42 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2015-12-23 20:33:42 +0100 |
commit | ce6f9b1eb4320a08b059cfb4f9a81f8d99653b1a (patch) | |
tree | 517251f789233ca167b19b7869bc87afe593ab41 /akonadi2_cli/syntax_modules | |
parent | 5e9c1172ca196bdc8bcdc842e54efc5a74908fff (diff) | |
download | sink-ce6f9b1eb4320a08b059cfb4f9a81f8d99653b1a.tar.gz sink-ce6f9b1eb4320a08b059cfb4f9a81f8d99653b1a.zip |
SyntaxTree::SyntaxList -> Syntax::List
Diffstat (limited to 'akonadi2_cli/syntax_modules')
-rw-r--r-- | akonadi2_cli/syntax_modules/akonadi_list.cpp | 4 | ||||
-rw-r--r-- | akonadi2_cli/syntax_modules/akonadi_list.h | 2 | ||||
-rw-r--r-- | akonadi2_cli/syntax_modules/core_syntax.cpp | 4 | ||||
-rw-r--r-- | akonadi2_cli/syntax_modules/core_syntax.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/akonadi2_cli/syntax_modules/akonadi_list.cpp b/akonadi2_cli/syntax_modules/akonadi_list.cpp index 62824ee..6abc853 100644 --- a/akonadi2_cli/syntax_modules/akonadi_list.cpp +++ b/akonadi2_cli/syntax_modules/akonadi_list.cpp | |||
@@ -39,9 +39,9 @@ | |||
39 | namespace AkonadiList | 39 | namespace AkonadiList |
40 | { | 40 | { |
41 | 41 | ||
42 | SyntaxTree::SyntaxList syntax() | 42 | Syntax::List syntax() |
43 | { | 43 | { |
44 | SyntaxTree::SyntaxList syntax; | 44 | Syntax::List syntax; |
45 | syntax << Syntax("list", QObject::tr("List all resources, or the contents of one or more resources"), &AkonadiList::list, Syntax::EventDriven); | 45 | syntax << Syntax("list", QObject::tr("List all resources, or the contents of one or more resources"), &AkonadiList::list, Syntax::EventDriven); |
46 | 46 | ||
47 | return syntax; | 47 | return syntax; |
diff --git a/akonadi2_cli/syntax_modules/akonadi_list.h b/akonadi2_cli/syntax_modules/akonadi_list.h index f2a123d..61effc5 100644 --- a/akonadi2_cli/syntax_modules/akonadi_list.h +++ b/akonadi2_cli/syntax_modules/akonadi_list.h | |||
@@ -23,7 +23,7 @@ | |||
23 | 23 | ||
24 | namespace AkonadiList | 24 | namespace AkonadiList |
25 | { | 25 | { |
26 | SyntaxTree::SyntaxList syntax(); | 26 | Syntax::List syntax(); |
27 | bool list(const QStringList &commands, State &state); | 27 | bool list(const QStringList &commands, State &state); |
28 | } | 28 | } |
29 | 29 | ||
diff --git a/akonadi2_cli/syntax_modules/core_syntax.cpp b/akonadi2_cli/syntax_modules/core_syntax.cpp index 1231e29..407fcbf 100644 --- a/akonadi2_cli/syntax_modules/core_syntax.cpp +++ b/akonadi2_cli/syntax_modules/core_syntax.cpp | |||
@@ -27,9 +27,9 @@ | |||
27 | namespace CoreSyntax | 27 | namespace CoreSyntax |
28 | { | 28 | { |
29 | 29 | ||
30 | SyntaxTree::SyntaxList syntax() | 30 | Syntax::List syntax() |
31 | { | 31 | { |
32 | SyntaxTree::SyntaxList syntax; | 32 | Syntax::List syntax; |
33 | syntax << Syntax("exit", QObject::tr("Exits the application. Ctrl-d also works!"), &CoreSyntax::exit); | 33 | syntax << Syntax("exit", QObject::tr("Exits the application. Ctrl-d also works!"), &CoreSyntax::exit); |
34 | syntax << Syntax(QObject::tr("help"), QObject::tr("Print command information: help [command]"), &CoreSyntax::showHelp); | 34 | syntax << Syntax(QObject::tr("help"), QObject::tr("Print command information: help [command]"), &CoreSyntax::showHelp); |
35 | 35 | ||
diff --git a/akonadi2_cli/syntax_modules/core_syntax.h b/akonadi2_cli/syntax_modules/core_syntax.h index 4afd69d..521cb8e 100644 --- a/akonadi2_cli/syntax_modules/core_syntax.h +++ b/akonadi2_cli/syntax_modules/core_syntax.h | |||
@@ -23,7 +23,7 @@ | |||
23 | 23 | ||
24 | namespace CoreSyntax | 24 | namespace CoreSyntax |
25 | { | 25 | { |
26 | SyntaxTree::SyntaxList syntax(); | 26 | Syntax::List syntax(); |
27 | bool exit(const QStringList &commands, State &state); | 27 | bool exit(const QStringList &commands, State &state); |
28 | bool showHelp(const QStringList &commands, State &state); | 28 | bool showHelp(const QStringList &commands, State &state); |
29 | bool setDebugLevel(const QStringList &commands, State &state); | 29 | bool setDebugLevel(const QStringList &commands, State &state); |