From 72f52fb148380feb018faa9a94a8ad54bb93635f Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Wed, 23 Dec 2015 17:02:56 +0100 Subject: debug level --- akonadi2_cli/state.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'akonadi2_cli/state.h') diff --git a/akonadi2_cli/state.h b/akonadi2_cli/state.h index a343e51..2f13166 100644 --- a/akonadi2_cli/state.h +++ b/akonadi2_cli/state.h @@ -30,7 +30,11 @@ public: void printLine(const QString &message = QString(), unsigned int indentationLevel = 0); void printError(const QString &errorMessage, const QString &errorCode = QString()); + void setDebugLevel(unsigned int level); + unsigned int debugLevel() const; + private: + int m_debugLevel = 0; QTextStream m_outStream; }; -- cgit v1.2.3