Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qcocoaeventdispatcher.mm File Reference

(76d861f39f5d063a0e065c7e3646606ed6a3b9d1)

#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()

bool isUserInputEvent ( NSEvent * event)
static

Definition at line 235 of file qcocoaeventdispatcher.mm.

◆ mainRunLoop()

CFRunLoopRef mainRunLoop ( )
inlinestatic

Definition at line 31 of file qcocoaeventdispatcher.mm.

◆ Q_LOGGING_CATEGORY()

QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY ( lcEventDispatcher ,
"qt.eventdispatcher"  )

◆ qt_mac_maybeCancelWaitForMoreEventsForwarder()

void qt_mac_maybeCancelWaitForMoreEventsForwarder ( QAbstractEventDispatcher * eventDispatcher)

Definition at line 770 of file qcocoaeventdispatcher.mm.

◆ qt_mac_waitForMoreEvents()

void qt_mac_waitForMoreEvents ( NSString * runLoopMode = NSDefaultRunLoopMode)
inlinestatic

Definition at line 273 of file qcocoaeventdispatcher.mm.

◆ runLoopSourceEqualCallback()

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

Definition at line 36 of file qcocoaeventdispatcher.mm.