diff options
author | Aaron Seigo <aseigo@kde.org> | 2015-12-23 12:00:00 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2015-12-23 12:00:00 +0100 |
commit | a4d438b7f5780e865c824f6e7f892bb3f0ee2b61 (patch) | |
tree | 622374f9628b8a0113ce40eaa3bc1eb0e604a80a /akonadi2_cli/state.h | |
parent | 6f720eaf111826a1588b37870bf1af638b1420a0 (diff) | |
download | sink-a4d438b7f5780e865c824f6e7f892bb3f0ee2b61.tar.gz sink-a4d438b7f5780e865c824f6e7f892bb3f0ee2b61.zip |
help now uses State to push out output
Diffstat (limited to 'akonadi2_cli/state.h')
-rw-r--r-- | akonadi2_cli/state.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/akonadi2_cli/state.h b/akonadi2_cli/state.h index 4fd2935..a343e51 100644 --- a/akonadi2_cli/state.h +++ b/akonadi2_cli/state.h | |||
@@ -26,9 +26,9 @@ class State | |||
26 | public: | 26 | public: |
27 | State(); | 27 | State(); |
28 | 28 | ||
29 | void print(const QString &string); | 29 | void print(const QString &message, unsigned int indentationLevel = 0); |
30 | void printLine(const QString &string); | 30 | void printLine(const QString &message = QString(), unsigned int indentationLevel = 0); |
31 | void printError(const QString &string, int errorCode = 0); | 31 | void printError(const QString &errorMessage, const QString &errorCode = QString()); |
32 | 32 | ||
33 | private: | 33 | private: |
34 | QTextStream m_outStream; | 34 | QTextStream m_outStream; |