From a4d438b7f5780e865c824f6e7f892bb3f0ee2b61 Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Wed, 23 Dec 2015 12:00:00 +0100 Subject: help now uses State to push out output --- akonadi2_cli/state.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'akonadi2_cli/state.h') 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 public: State(); - void print(const QString &string); - void printLine(const QString &string); - void printError(const QString &string, int errorCode = 0); + void print(const QString &message, unsigned int indentationLevel = 0); + void printLine(const QString &message = QString(), unsigned int indentationLevel = 0); + void printError(const QString &errorMessage, const QString &errorCode = QString()); private: QTextStream m_outStream; -- cgit v1.2.3