QtBase  v6.3.1
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
QCocoaEventDispatcherPrivate Class Reference

#include <qcocoaeventdispatcher.h>

Inheritance diagram for QCocoaEventDispatcherPrivate:
Inheritance graph
[legend]
Collaboration diagram for QCocoaEventDispatcherPrivate:
Collaboration graph
[legend]

Public Member Functions

 QCocoaEventDispatcherPrivate ()
 
void maybeStartCFRunLoopTimer ()
 
void maybeStopCFRunLoopTimer ()
 
bool processTimers ()
 
NSModalSession currentModalSession ()
 
void temporarilyStopAllModalSessions ()
 
void beginModalSession (QWindow *widget)
 
void endModalSession (QWindow *widget)
 
bool hasModalSession () const
 
void cleanupModalSessions ()
 
void cancelWaitForMoreEvents ()
 
void maybeCancelWaitForMoreEvents ()
 
void ensureNSAppInitialized ()
 
bool sendQueuedUserInputEvents ()
 
void processPostedEvents ()
 
- Public Member Functions inherited from QAbstractEventDispatcherPrivate
 QAbstractEventDispatcherPrivate ()
 
 ~QAbstractEventDispatcherPrivate () override
 
- Public Member Functions inherited from QObjectPrivate
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData)
 
void _q_reregisterTimers (void *pointer)
 
bool isSender (const QObject *receiver, const char *signal) const
 
QObjectList receiverList (const char *signal) const
 
QObjectList senderList () const
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void ensureConnectionData ()
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 

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 void firstLoopEntry (CFRunLoopObserverRef ref, 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 QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (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)
 
static bool disconnect (Connection *c)
 

Public Attributes

uint processEventsFlags
 
QTimerInfoList timerInfoList
 
CFRunLoopTimerRef runLoopTimerRef
 
CFRunLoopSourceRef activateTimersSourceRef
 
bool blockSendPostedEvents
 
QStack< QCocoaModalSessionInfococoaModalSessionStack
 
bool currentExecIsNSAppRun
 
bool nsAppRunCalledByQt
 
bool cleanupModalSessionsNeeded
 
uint processEventsCalled
 
NSModalSession currentModalSessionCached
 
QCFSocketNotifier cfSocketNotifier
 
QList< void * > queuedUserInputEvents
 
CFRunLoopSourceRef postedEventsSource
 
CFRunLoopObserverRef waitingObserver
 
CFRunLoopObserverRef firstTimeObserver
 
QAtomicInt serialNumber
 
int lastSerial
 
bool interrupt
 
bool propagateInterrupt = false
 
- Public Attributes inherited from QAbstractEventDispatcherPrivate
QList< QAbstractNativeEventFilter * > eventFilters
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union {
   QObject *   currentChildBeingDeleted
 
   QAbstractDeclarativeData *   declarativeData
 
}; 
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
QObjectList children
 
uint isWidget: 1
 
uint blockSig: 1
 
uint wasDeleted: 1
 
uint isDeletingChildren: 1
 
uint sendChildEvents: 1
 
uint receiveChildEvents: 1
 
uint isWindow: 1
 
uint deleteLaterCalled: 1
 
uint unused: 24
 
int postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Additional Inherited Members

- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData >
 

Detailed Description

Definition at line 137 of file qcocoaeventdispatcher.h.

Constructor & Destructor Documentation

◆ QCocoaEventDispatcherPrivate()

QCocoaEventDispatcherPrivate::QCocoaEventDispatcherPrivate ( )

Definition at line 771 of file qcocoaeventdispatcher.mm.

Member Function Documentation

◆ activateTimersSourceCallback()

void QCocoaEventDispatcherPrivate::activateTimersSourceCallback ( void info)
static

Definition at line 122 of file qcocoaeventdispatcher.mm.

◆ beginModalSession()

void QCocoaEventDispatcherPrivate::beginModalSession ( QWindow widget)

Definition at line 723 of file qcocoaeventdispatcher.mm.

Here is the call graph for this function:

◆ cancelWaitForMoreEvents()

void QCocoaEventDispatcherPrivate::cancelWaitForMoreEvents ( )

Definition at line 929 of file qcocoaeventdispatcher.mm.

Here is the caller graph for this function:

◆ cleanupModalSessions()

void QCocoaEventDispatcherPrivate::cleanupModalSessions ( )

Definition at line 688 of file qcocoaeventdispatcher.mm.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ currentModalSession()

NSModalSession QCocoaEventDispatcherPrivate::currentModalSession ( )

Definition at line 634 of file qcocoaeventdispatcher.mm.

Here is the call graph for this function:

◆ endModalSession()

void QCocoaEventDispatcherPrivate::endModalSession ( QWindow widget)

Definition at line 743 of file qcocoaeventdispatcher.mm.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ensureNSAppInitialized()

void QCocoaEventDispatcherPrivate::ensureNSAppInitialized ( )

Definition at line 591 of file qcocoaeventdispatcher.mm.

Here is the caller graph for this function:

◆ firstLoopEntry()

void QCocoaEventDispatcherPrivate::firstLoopEntry ( CFRunLoopObserverRef  ref,
CFRunLoopActivity  activity,
void info 
)
static

Definition at line 907 of file qcocoaeventdispatcher.mm.

Here is the call graph for this function:

◆ hasModalSession()

bool QCocoaEventDispatcherPrivate::hasModalSession ( ) const

Definition at line 683 of file qcocoaeventdispatcher.mm.

◆ maybeCancelWaitForMoreEvents()

void QCocoaEventDispatcherPrivate::maybeCancelWaitForMoreEvents ( )

Definition at line 939 of file qcocoaeventdispatcher.mm.

Here is the call graph for this function:

◆ maybeStartCFRunLoopTimer()

void QCocoaEventDispatcherPrivate::maybeStartCFRunLoopTimer ( )

Definition at line 136 of file qcocoaeventdispatcher.mm.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ maybeStopCFRunLoopTimer()

void QCocoaEventDispatcherPrivate::maybeStopCFRunLoopTimer ( )

Definition at line 189 of file qcocoaeventdispatcher.mm.

◆ postedEventsSourceCallback()

void QCocoaEventDispatcherPrivate::postedEventsSourceCallback ( void info)
static

Definition at line 916 of file qcocoaeventdispatcher.mm.

◆ processPostedEvents()

void QCocoaEventDispatcherPrivate::processPostedEvents ( )

Definition at line 871 of file qcocoaeventdispatcher.mm.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ processTimers()

bool QCocoaEventDispatcherPrivate::processTimers ( )

Definition at line 129 of file qcocoaeventdispatcher.mm.

Here is the call graph for this function:

◆ runLoopTimerCallback()

void QCocoaEventDispatcherPrivate::runLoopTimerCallback ( CFRunLoopTimerRef  ,
void info 
)
static

Definition at line 111 of file qcocoaeventdispatcher.mm.

◆ sendQueuedUserInputEvents()

bool QCocoaEventDispatcherPrivate::sendQueuedUserInputEvents ( )

Definition at line 854 of file qcocoaeventdispatcher.mm.

Here is the call graph for this function:

◆ temporarilyStopAllModalSessions()

void QCocoaEventDispatcherPrivate::temporarilyStopAllModalSessions ( )

Definition at line 611 of file qcocoaeventdispatcher.mm.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ waitingObserverCallback()

void QCocoaEventDispatcherPrivate::waitingObserverCallback ( CFRunLoopObserverRef  observer,
CFRunLoopActivity  activity,
void info 
)
static

Definition at line 845 of file qcocoaeventdispatcher.mm.

Here is the call graph for this function:

Member Data Documentation

◆ activateTimersSourceRef

CFRunLoopSourceRef QCocoaEventDispatcherPrivate::activateTimersSourceRef

Definition at line 149 of file qcocoaeventdispatcher.h.

◆ blockSendPostedEvents

bool QCocoaEventDispatcherPrivate::blockSendPostedEvents

Definition at line 160 of file qcocoaeventdispatcher.h.

◆ cfSocketNotifier

QCFSocketNotifier QCocoaEventDispatcherPrivate::cfSocketNotifier

Definition at line 179 of file qcocoaeventdispatcher.h.

◆ cleanupModalSessionsNeeded

bool QCocoaEventDispatcherPrivate::cleanupModalSessionsNeeded

Definition at line 165 of file qcocoaeventdispatcher.h.

◆ cocoaModalSessionStack

QStack<QCocoaModalSessionInfo> QCocoaEventDispatcherPrivate::cocoaModalSessionStack

Definition at line 162 of file qcocoaeventdispatcher.h.

◆ currentExecIsNSAppRun

bool QCocoaEventDispatcherPrivate::currentExecIsNSAppRun

Definition at line 163 of file qcocoaeventdispatcher.h.

◆ currentModalSessionCached

NSModalSession QCocoaEventDispatcherPrivate::currentModalSessionCached

Definition at line 167 of file qcocoaeventdispatcher.h.

◆ firstTimeObserver

CFRunLoopObserverRef QCocoaEventDispatcherPrivate::firstTimeObserver

Definition at line 183 of file qcocoaeventdispatcher.h.

◆ interrupt

bool QCocoaEventDispatcherPrivate::interrupt

Definition at line 186 of file qcocoaeventdispatcher.h.

◆ lastSerial

int QCocoaEventDispatcherPrivate::lastSerial

Definition at line 185 of file qcocoaeventdispatcher.h.

◆ nsAppRunCalledByQt

bool QCocoaEventDispatcherPrivate::nsAppRunCalledByQt

Definition at line 164 of file qcocoaeventdispatcher.h.

◆ postedEventsSource

CFRunLoopSourceRef QCocoaEventDispatcherPrivate::postedEventsSource

Definition at line 181 of file qcocoaeventdispatcher.h.

◆ processEventsCalled

uint QCocoaEventDispatcherPrivate::processEventsCalled

Definition at line 166 of file qcocoaeventdispatcher.h.

◆ processEventsFlags

uint QCocoaEventDispatcherPrivate::processEventsFlags

Definition at line 144 of file qcocoaeventdispatcher.h.

◆ propagateInterrupt

bool QCocoaEventDispatcherPrivate::propagateInterrupt = false

Definition at line 187 of file qcocoaeventdispatcher.h.

◆ queuedUserInputEvents

QList<void *> QCocoaEventDispatcherPrivate::queuedUserInputEvents

Definition at line 180 of file qcocoaeventdispatcher.h.

◆ runLoopTimerRef

CFRunLoopTimerRef QCocoaEventDispatcherPrivate::runLoopTimerRef

Definition at line 148 of file qcocoaeventdispatcher.h.

◆ serialNumber

QAtomicInt QCocoaEventDispatcherPrivate::serialNumber

Definition at line 184 of file qcocoaeventdispatcher.h.

◆ timerInfoList

QTimerInfoList QCocoaEventDispatcherPrivate::timerInfoList

Definition at line 147 of file qcocoaeventdispatcher.h.

◆ waitingObserver

CFRunLoopObserverRef QCocoaEventDispatcherPrivate::waitingObserver

Definition at line 182 of file qcocoaeventdispatcher.h.


The documentation for this class was generated from the following files: