From cfc740798191673c9badb1a4543c5b5421054f27 Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Sun, 10 Jan 2016 12:09:20 +0100 Subject: getter for event loop status --- akonadish/state.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'akonadish/state.cpp') diff --git a/akonadish/state.cpp b/akonadish/state.cpp index f3f5975..85cbe10 100644 --- a/akonadish/state.cpp +++ b/akonadish/state.cpp @@ -112,6 +112,11 @@ void State::setHasEventLoop(bool evented) s_hasEventLoop = evented; } +bool State::hasEventLoop() +{ + return s_hasEventLoop; +} + void State::setCommandTiming(bool time) { d->timing = time; -- cgit v1.2.3