diff options
author | Aaron Seigo <aseigo@kde.org> | 2015-12-23 16:40:08 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2015-12-23 16:40:08 +0100 |
commit | afba02ad5fc52acf84a18f67f38b6b75267a31c0 (patch) | |
tree | 419667e0e5e53497d7af1282f3a75c860b376ceb /akonadi2_cli/module.cpp | |
parent | a4d438b7f5780e865c824f6e7f892bb3f0ee2b61 (diff) | |
download | sink-afba02ad5fc52acf84a18f67f38b6b75267a31c0.tar.gz sink-afba02ad5fc52acf84a18f67f38b6b75267a31c0.zip |
stub in where command line tokenization will live
Diffstat (limited to 'akonadi2_cli/module.cpp')
-rw-r--r-- | akonadi2_cli/module.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/akonadi2_cli/module.cpp b/akonadi2_cli/module.cpp index 125caaa..5fd68b4 100644 --- a/akonadi2_cli/module.cpp +++ b/akonadi2_cli/module.cpp | |||
@@ -157,4 +157,9 @@ Module::SyntaxList Module::nearestSyntax(const QStringList &words, const QString | |||
157 | return matches; | 157 | return matches; |
158 | } | 158 | } |
159 | 159 | ||
160 | QStringList Module::tokenize(const QString &text) | ||
161 | { | ||
162 | //TODO: properly tokenize (e.g. "foo bar" should not become ['"foo', 'bar"'] | ||
163 | return text.split(" "); | ||
164 | } | ||
160 | 165 | ||