summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/ios/qioseventdispatcher.h
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@digia.com>2012-11-07 16:34:43 +0100
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>2013-02-27 23:55:38 +0100
commitea1e5ccd621115d8103ceac962ac89dc0db65b70 (patch)
tree5d39f9d09699cf992cc24972a70e6eabe764859e /src/plugins/platforms/ios/qioseventdispatcher.h
parent19de726725dc123f478ecb2b122d03862c725650 (diff)
iOS: implement QEventLoop support in the event dispatcher
With this patch you can now expect the following code to work: QEventLoop l; QTimer::singleShot(1000, &l, SLOT(quit())); l.exec(); Change-Id: Ic73e37affaadf8a859787d84ac02c15621ac7a29 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Diffstat (limited to 'src/plugins/platforms/ios/qioseventdispatcher.h')
-rw-r--r--src/plugins/platforms/ios/qioseventdispatcher.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/ios/qioseventdispatcher.h b/src/plugins/platforms/ios/qioseventdispatcher.h
index da8464f5ee..88d5127855 100644
--- a/src/plugins/platforms/ios/qioseventdispatcher.h
+++ b/src/plugins/platforms/ios/qioseventdispatcher.h
@@ -108,6 +108,8 @@ public:
void flush();
private:
+ bool m_interrupted;
+
CFRunLoopSourceRef m_postedEventsRunLoopSource;
CFRunLoopSourceRef m_blockingTimerRunLoopSource;