diff options
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoaeventdispatcher.h')
-rw-r--r-- | src/plugins/platforms/cocoa/qcocoaeventdispatcher.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoaeventdispatcher.h b/src/plugins/platforms/cocoa/qcocoaeventdispatcher.h index 2ffc1395ba..ebf33cf4e2 100644 --- a/src/plugins/platforms/cocoa/qcocoaeventdispatcher.h +++ b/src/plugins/platforms/cocoa/qcocoaeventdispatcher.h @@ -110,8 +110,8 @@ class QCocoaEventDispatcher : public QAbstractEventDispatcher Q_DECLARE_PRIVATE(QCocoaEventDispatcher) public: - QCocoaEventDispatcher(QAbstractEventDispatcherPrivate &priv, QObject *parent = 0); - explicit QCocoaEventDispatcher(QObject *parent = 0); + QCocoaEventDispatcher(QAbstractEventDispatcherPrivate &priv, QObject *parent = nullptr); + explicit QCocoaEventDispatcher(QObject *parent = nullptr); ~QCocoaEventDispatcher(); bool processEvents(QEventLoop::ProcessEventsFlags flags); @@ -153,6 +153,7 @@ public: void maybeStopCFRunLoopTimer(); static void runLoopTimerCallback(CFRunLoopTimerRef, void *info); static void activateTimersSourceCallback(void *info); + bool processTimers(); // Set 'blockSendPostedEvents' to true if you _really_ need // to make sure that qt events are not posted while calling |