Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qcocoaeventdispatcher.mm File Reference

(f8da484d5741d1191504eefddf5134fd7009e16a)

#include <AppKit/AppKit.h>
#include "qcocoaeventdispatcher.h"
#include "qcocoawindow.h"
#include "qcocoahelpers.h"
#include <QtGui/qevent.h>
#include <QtGui/qguiapplication.h>
#include <QtGui/private/qguiapplication_p.h>
#include <QtCore/qmutex.h>
#include <QtCore/qscopeguard.h>
#include <QtCore/qsocketnotifier.h>
#include <QtCore/private/qthread_p.h>
#include <QtCore/private/qcore_mac_p.h>
#include <qpa/qplatformwindow.h>
#include <qpa/qplatformnativeinterface.h>
#include <QtCore/qdebug.h>
+ Include dependency graph for qcocoaeventdispatcher.mm:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY (lcEventDispatcher, "qt.eventdispatcher")
 
static CFRunLoopRef mainRunLoop ()
 
static Boolean runLoopSourceEqualCallback (const void *info1, const void *info2)
 
static bool isUserInputEvent (NSEvent *event)
 
static void qt_mac_waitForMoreEvents (NSString *runLoopMode=NSDefaultRunLoopMode)
 
void qt_mac_maybeCancelWaitForMoreEventsForwarder (QAbstractEventDispatcher *eventDispatcher)
 

Function Documentation

◆ isUserInputEvent()

static bool isUserInputEvent ( NSEvent * event)
static

Definition at line 267 of file qcocoaeventdispatcher.mm.

Referenced by QCocoaEventDispatcher::processEvents().

+ Here is the caller graph for this function:

◆ mainRunLoop()

static CFRunLoopRef mainRunLoop ( )
inlinestatic

Definition at line 63 of file qcocoaeventdispatcher.mm.

Referenced by QCocoaEventDispatcher::QCocoaEventDispatcher(), QCocoaEventDispatcher::~QCocoaEventDispatcher(), QCocoaEventDispatcherPrivate::ensureNSAppInitialized(), QCocoaEventDispatcherPrivate::maybeStartCFRunLoopTimer(), and QCocoaEventDispatcher::wakeUp().

+ Here is the caller graph for this function:

◆ Q_LOGGING_CATEGORY()

QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY ( lcEventDispatcher ,
"qt.eventdispatcher"  )

◆ qt_mac_maybeCancelWaitForMoreEventsForwarder()

void qt_mac_maybeCancelWaitForMoreEventsForwarder ( QAbstractEventDispatcher * eventDispatcher)

Definition at line 799 of file qcocoaeventdispatcher.mm.

◆ qt_mac_waitForMoreEvents()

static void qt_mac_waitForMoreEvents ( NSString * runLoopMode = NSDefaultRunLoopMode)
inlinestatic

Definition at line 305 of file qcocoaeventdispatcher.mm.

Referenced by QCocoaEventDispatcher::processEvents().

+ Here is the caller graph for this function:

◆ runLoopSourceEqualCallback()

static Boolean runLoopSourceEqualCallback ( const void * info1,
const void * info2 )
static

Definition at line 68 of file qcocoaeventdispatcher.mm.

Referenced by QCocoaEventDispatcher::QCocoaEventDispatcher().

+ Here is the caller graph for this function: