38#ifndef QEVENTDISPATCHER_MAC_P_H
39#define QEVENTDISPATCHER_MAC_P_H
52#include <QtCore/qabstracteventdispatcher.h>
53#include <QtCore/qstack.h>
54#include <QtGui/qwindowdefs.h>
55#include <QtCore/private/qabstracteventdispatcher_p.h>
56#include <QtCore/private/qcfsocketnotifier_p.h>
57#include <QtCore/private/qtimerinfo_unix_p.h>
58#include <QtCore/qloggingcategory.h>
59#include <QtCore/qpointer.h>
61#include <CoreFoundation/CoreFoundation.h>
161 CFRunLoopActivity activity,
void *
info);
DarwinBluetooth::LECBManagerNotifier * notifier
std::chrono::nanoseconds Duration
A {std::chrono::duration} type that is used in various API in this class.
void beginModalSession(QWindow *widget)
void endModalSession(QWindow *widget)
NSModalSession currentModalSessionCached
bool sendQueuedUserInputEvents()
static void postedEventsSourceCallback(void *info)
CFRunLoopSourceRef activateTimersSourceRef
bool blockSendPostedEvents
CFRunLoopObserverRef waitingObserver
QCocoaEventDispatcherPrivate()
void temporarilyStopAllModalSessions()
CFRunLoopSourceRef postedEventsSource
static void runLoopTimerCallback(CFRunLoopTimerRef, void *info)
void processPostedEvents()
QList< void * > queuedUserInputEvents
QCFSocketNotifier cfSocketNotifier
CFRunLoopTimerRef runLoopTimerRef
void maybeCancelWaitForMoreEvents()
bool hasModalSession() const
static void activateTimersSourceCallback(void *info)
void maybeStopCFRunLoopTimer()
void cancelWaitForMoreEvents()
void cleanupModalSessions()
void ensureNSAppInitialized()
static void waitingObserverCallback(CFRunLoopObserverRef observer, CFRunLoopActivity activity, void *info)
QTimerInfoList timerInfoList
NSModalSession currentModalSession()
bool initializingNSApplication
bool cleanupModalSessionsNeeded
void maybeStartCFRunLoopTimer()
QStack< QCocoaModalSessionInfo > cocoaModalSessionStack
bool currentExecIsNSAppRun
QList< TimerInfoV2 > timersForObject(QObject *object) const final
void interrupt()
Interrupts event dispatching.
void unregisterSocketNotifier(QSocketNotifier *notifier)
Unregisters notifier from the event dispatcher.
void registerSocketNotifier(QSocketNotifier *notifier)
Registers notifier with the event loop.
QCocoaEventDispatcher(QAbstractEventDispatcherPrivate &priv, QObject *parent=nullptr)
bool unregisterTimers(QObject *object) final
Unregisters all the timers associated with the given object.
void registerTimer(Qt::TimerId timerId, Duration interval, Qt::TimerType timerType, QObject *object) final
Duration remainingTime(Qt::TimerId timerId) const final
Returns the remaining time of the timer with the given timerId.
bool unregisterTimer(Qt::TimerId timerId) final
friend void qt_mac_maybeCancelWaitForMoreEventsForwarder(QAbstractEventDispatcher *eventDispatcher)
static void clearCurrentThreadCocoaEventDispatcherInterruptFlag()
bool processEvents(QEventLoop::ProcessEventsFlags flags)
Processes pending events that match flags until there are no more events to process.
QObject * parent() const
Returns a pointer to the parent object.
static void cancelInterruptLater()
static void interruptLater()
Combined button and popup list for selecting options.
struct _QCocoaModalSessionInfo QCocoaModalSessionInfo
struct _NSModalSession * NSModalSession
#define Q_FORWARD_DECLARE_OBJC_CLASS(classname)
#define Q_DECLARE_LOGGING_CATEGORY(name)
QPointer< QWindow > window