[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [akonadi-next/feature/akonadish_gointeractive] akonadish: getter for event loop status
From: Aaron Seigo <aseigo () kde ! org>
Date: 2016-01-10 11:16:01
Message-ID: E1aIDyb-0005fz-Fc () scm ! kde ! org
[Download RAW message or body]
Git commit cfc740798191673c9badb1a4543c5b5421054f27 by Aaron Seigo.
Committed on 10/01/2016 at 11:09.
Pushed by aseigo into branch 'feature/akonadish_gointeractive'.
getter for event loop status
M +5 -0 akonadish/state.cpp
M +1 -0 akonadish/state.h
http://commits.kde.org/akonadi-next/cfc740798191673c9badb1a4543c5b5421054f27
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;
diff --git a/akonadish/state.h b/akonadish/state.h
index 9c1ab6f..b1ca358 100644
--- a/akonadish/state.h
+++ b/akonadish/state.h
@@ -40,6 +40,7 @@ public:
void commandFinished(int returnCode = 0) const;
static void setHasEventLoop(bool evented);
+ static bool hasEventLoop();
private:
class Private;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic