![]() |
Qt 6.x
The Qt SDK
|
#include <qcocoaeventdispatcher.h>
Inheritance diagram for QCocoaEventDispatcherPrivate:
Collaboration diagram for QCocoaEventDispatcherPrivate:Static Public Member Functions | |
| static void | runLoopTimerCallback (CFRunLoopTimerRef, void *info) |
| static void | activateTimersSourceCallback (void *info) |
| static void | postedEventsSourceCallback (void *info) |
| static void | waitingObserverCallback (CFRunLoopObserverRef observer, CFRunLoopActivity activity, void *info) |
Static Public Member Functions inherited from QAbstractEventDispatcherPrivate | |
| static int | allocateTimerId () |
| static void | releaseTimerId (int id) |
Static Public Member Functions inherited from QObjectPrivate | |
| static bool | removeConnection (Connection *c) |
| static QObjectPrivate * | get (QObject *o) |
| static const QObjectPrivate * | get (const QObject *o) |
| template<typename Func1 , typename Func2 > | |
| static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
| template<typename Func1 , typename Func2 > | |
| static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
| static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
| static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
| static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Additional Inherited Members | |
Public Types inherited from QObjectPrivate | |
| typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
| using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Definition at line 104 of file qcocoaeventdispatcher.h.
| QCocoaEventDispatcherPrivate::QCocoaEventDispatcherPrivate | ( | ) |
Definition at line 765 of file qcocoaeventdispatcher.mm.
Definition at line 89 of file qcocoaeventdispatcher.mm.
References d, info, and qCDebug.
Referenced by QCocoaEventDispatcher::QCocoaEventDispatcher().
Here is the caller graph for this function:Definition at line 717 of file qcocoaeventdispatcher.mm.
References cocoaModalSessionStack, currentModalSessionCached, info, and window().
Here is the call graph for this function:| void QCocoaEventDispatcherPrivate::cancelWaitForMoreEvents | ( | ) |
Definition at line 907 of file qcocoaeventdispatcher.mm.
Referenced by ensureNSAppInitialized(), maybeCancelWaitForMoreEvents(), and processPostedEvents().
Here is the caller graph for this function:| void QCocoaEventDispatcherPrivate::cleanupModalSessions | ( | ) |
Definition at line 682 of file qcocoaeventdispatcher.mm.
References cleanupModalSessionsNeeded, cocoaModalSessionStack, currentModalSessionCached, endModalSession(), i, info, pool, Q_ASSERT, and release().
Referenced by processPostedEvents().
Here is the call graph for this function:
Here is the caller graph for this function:| NSModalSession QCocoaEventDispatcherPrivate::currentModalSession | ( | ) |
Definition at line 628 of file qcocoaeventdispatcher.mm.
References blockSendPostedEvents, cleanupModalSessionsNeeded, cocoaModalSessionStack, currentModalSessionCached, ensureNSAppInitialized(), QCocoaWindow::geometry(), i, info, QCocoaWindow::nativeWindow(), pool, rect, and QCocoaWindow::setGeometry().
Here is the call graph for this function:Definition at line 737 of file qcocoaeventdispatcher.mm.
References cleanupModalSessionsNeeded, cocoaModalSessionStack, currentModalSessionCached, i, info, and window().
Referenced by cleanupModalSessions(), and temporarilyStopAllModalSessions().
Here is the call graph for this function:
Here is the caller graph for this function:| void QCocoaEventDispatcherPrivate::ensureNSAppInitialized | ( | ) |
Definition at line 565 of file qcocoaeventdispatcher.mm.
References cancelWaitForMoreEvents(), initializingNSApplication, isRunning(), mainRunLoop(), nsAppRunCalledByQt, and qCDebug.
Referenced by currentModalSession().
Here is the call graph for this function:
Here is the caller graph for this function:| bool QCocoaEventDispatcherPrivate::hasModalSession | ( | ) | const |
Definition at line 677 of file qcocoaeventdispatcher.mm.
References cocoaModalSessionStack.
| void QCocoaEventDispatcherPrivate::maybeCancelWaitForMoreEvents | ( | ) |
Definition at line 917 of file qcocoaeventdispatcher.mm.
References cancelWaitForMoreEvents(), QEventLoop::EventLoopExec, processEventsFlags, and QEventLoop::WaitForMoreEvents.
Here is the call graph for this function:| void QCocoaEventDispatcherPrivate::maybeStartCFRunLoopTimer | ( | ) |
Definition at line 110 of file qcocoaeventdispatcher.mm.
References info, QList< T >::isEmpty(), mainRunLoop(), Q_ASSERT, qMax(), runLoopTimerCallback(), runLoopTimerRef, timerInfoList, and QTimerInfoList::timerWait().
Referenced by processTimers().
Here is the call graph for this function:
Here is the caller graph for this function:| void QCocoaEventDispatcherPrivate::maybeStopCFRunLoopTimer | ( | ) |
Definition at line 163 of file qcocoaeventdispatcher.mm.
References runLoopTimerRef.
Definition at line 886 of file qcocoaeventdispatcher.mm.
References d, QEventLoop::EventLoopExec, info, and qCDebug.
Referenced by QCocoaEventDispatcher::QCocoaEventDispatcher().
Here is the caller graph for this function:| void QCocoaEventDispatcherPrivate::processPostedEvents | ( | ) |
Definition at line 850 of file qcocoaeventdispatcher.mm.
References QEventLoop::AllEvents, blockSendPostedEvents, cancelWaitForMoreEvents(), cleanupModalSessions(), cleanupModalSessionsNeeded, currentExecIsNSAppRun, currentModalSessionCached, interrupt, lastSerial, QBasicAtomicInteger< T >::loadRelaxed(), QBasicAtomicPointer< X >::loadRelaxed(), postedEventsSource, processEventsCalled, QCoreApplication::sendPostedEvents(), QWindowSystemInterface::sendWindowSystemEvents(), serialNumber, temporarilyStopAllModalSessions(), and QObjectPrivate::threadData.
Here is the call graph for this function:| bool QCocoaEventDispatcherPrivate::processTimers | ( | ) |
Definition at line 103 of file qcocoaeventdispatcher.mm.
References QTimerInfoList::activateTimers(), maybeStartCFRunLoopTimer(), and timerInfoList.
Here is the call graph for this function:Definition at line 78 of file qcocoaeventdispatcher.mm.
References d, QEventLoop::EventLoopExec, and info.
Referenced by maybeStartCFRunLoopTimer().
Here is the caller graph for this function:| bool QCocoaEventDispatcherPrivate::sendQueuedUserInputEvents | ( | ) |
Definition at line 833 of file qcocoaeventdispatcher.mm.
References QEventLoop::ExcludeUserInputEvents, QList< T >::isEmpty(), processEventsFlags, queuedUserInputEvents, release(), and QList< T >::takeFirst().
Here is the call graph for this function:| void QCocoaEventDispatcherPrivate::temporarilyStopAllModalSessions | ( | ) |
Definition at line 605 of file qcocoaeventdispatcher.mm.
References cocoaModalSessionStack, currentModalSessionCached, endModalSession(), i, info, and release().
Referenced by processPostedEvents().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 824 of file qcocoaeventdispatcher.mm.
Referenced by QCocoaEventDispatcher::QCocoaEventDispatcher().
Here is the caller graph for this function:| CFRunLoopSourceRef QCocoaEventDispatcherPrivate::activateTimersSourceRef |
Definition at line 116 of file qcocoaeventdispatcher.h.
| bool QCocoaEventDispatcherPrivate::blockSendPostedEvents |
Definition at line 127 of file qcocoaeventdispatcher.h.
Referenced by currentModalSession(), and processPostedEvents().
| QCFSocketNotifier QCocoaEventDispatcherPrivate::cfSocketNotifier |
Definition at line 147 of file qcocoaeventdispatcher.h.
| bool QCocoaEventDispatcherPrivate::cleanupModalSessionsNeeded |
Definition at line 133 of file qcocoaeventdispatcher.h.
Referenced by cleanupModalSessions(), currentModalSession(), endModalSession(), and processPostedEvents().
| QStack<QCocoaModalSessionInfo> QCocoaEventDispatcherPrivate::cocoaModalSessionStack |
Definition at line 129 of file qcocoaeventdispatcher.h.
Referenced by beginModalSession(), cleanupModalSessions(), currentModalSession(), endModalSession(), hasModalSession(), and temporarilyStopAllModalSessions().
| bool QCocoaEventDispatcherPrivate::currentExecIsNSAppRun |
Definition at line 130 of file qcocoaeventdispatcher.h.
Referenced by processPostedEvents().
| NSModalSession QCocoaEventDispatcherPrivate::currentModalSessionCached |
Definition at line 135 of file qcocoaeventdispatcher.h.
Referenced by beginModalSession(), cleanupModalSessions(), currentModalSession(), endModalSession(), processPostedEvents(), and temporarilyStopAllModalSessions().
| bool QCocoaEventDispatcherPrivate::initializingNSApplication = false |
Definition at line 132 of file qcocoaeventdispatcher.h.
Referenced by ensureNSAppInitialized().
| bool QCocoaEventDispatcherPrivate::interrupt |
Definition at line 153 of file qcocoaeventdispatcher.h.
Referenced by QCocoaEventDispatcher::clearCurrentThreadCocoaEventDispatcherInterruptFlag(), and processPostedEvents().
| int QCocoaEventDispatcherPrivate::lastSerial |
Definition at line 152 of file qcocoaeventdispatcher.h.
Referenced by processPostedEvents().
| bool QCocoaEventDispatcherPrivate::nsAppRunCalledByQt |
Definition at line 131 of file qcocoaeventdispatcher.h.
Referenced by ensureNSAppInitialized().
| CFRunLoopSourceRef QCocoaEventDispatcherPrivate::postedEventsSource |
Definition at line 149 of file qcocoaeventdispatcher.h.
Referenced by processPostedEvents().
| uint QCocoaEventDispatcherPrivate::processEventsCalled |
Definition at line 134 of file qcocoaeventdispatcher.h.
Referenced by processPostedEvents().
| uint QCocoaEventDispatcherPrivate::processEventsFlags |
Definition at line 111 of file qcocoaeventdispatcher.h.
Referenced by maybeCancelWaitForMoreEvents(), and sendQueuedUserInputEvents().
| bool QCocoaEventDispatcherPrivate::propagateInterrupt = false |
Definition at line 154 of file qcocoaeventdispatcher.h.
Definition at line 148 of file qcocoaeventdispatcher.h.
Referenced by sendQueuedUserInputEvents().
| CFRunLoopTimerRef QCocoaEventDispatcherPrivate::runLoopTimerRef |
Definition at line 115 of file qcocoaeventdispatcher.h.
Referenced by maybeStartCFRunLoopTimer(), and maybeStopCFRunLoopTimer().
| QAtomicInt QCocoaEventDispatcherPrivate::serialNumber |
Definition at line 151 of file qcocoaeventdispatcher.h.
Referenced by processPostedEvents().
| QTimerInfoList QCocoaEventDispatcherPrivate::timerInfoList |
Definition at line 114 of file qcocoaeventdispatcher.h.
Referenced by maybeStartCFRunLoopTimer(), and processTimers().
| CFRunLoopObserverRef QCocoaEventDispatcherPrivate::waitingObserver |
Definition at line 150 of file qcocoaeventdispatcher.h.