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>
60#include <CoreFoundation/CoreFoundation.h>
158 CFRunLoopActivity activity,
void *
info);
DarwinBluetooth::LECBManagerNotifier * notifier
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
void registerTimer(int timerId, qint64 interval, Qt::TimerType timerType, QObject *object)
Register a timer with the specified timerId, interval, and timerType for the given object.
void interrupt()
Interrupts event dispatching.
void unregisterSocketNotifier(QSocketNotifier *notifier)
Unregisters notifier from the event dispatcher.
bool unregisterTimer(int timerId)
Unregisters the timer with the given timerId.
int remainingTime(int timerId)
Returns the remaining time in milliseconds with the given timerId.
void registerSocketNotifier(QSocketNotifier *notifier)
Registers notifier with the event loop.
QList< TimerInfo > registeredTimers(QObject *object) const
Returns a list of registered timers for object.
QCocoaEventDispatcher(QAbstractEventDispatcherPrivate &priv, QObject *parent=nullptr)
bool unregisterTimers(QObject *object)
Unregisters all the timers associated with the given object.
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_DECLARE_LOGGING_CATEGORY(name)
QFileInfo info(fileName)
[8]
QPointer< QWindow > window