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
qcocoaapplication.mm File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

#include <AppKit/AppKit.h>
#include "qcocoaapplication.h"
#include "qcocoaintrospection.h"
#include "qcocoaapplicationdelegate.h"
#include "qcocoahelpers.h"
#include "qcocoawindow.h"
#include <qguiapplication.h>
#include <qdebug.h>
+ Include dependency graph for qcocoaapplication.mm:

Go to the source code of this file.

Functions

static QT_USE_NAMESPACE void qt_sendPostedMessage (NSEvent *event)
 
static bool qt_filterEvent (NSEvent *event)
 
static void qt_maybeSendKeyEquivalentUpEvent (NSEvent *event)
 
QT_BEGIN_NAMESPACE void qt_redirectNSApplicationSendEvent ()
 
void qt_resetNSApplicationSendEvent ()
 

Variables

static const QByteArray q_macLocalEventType = QByteArrayLiteral("mac_generic_NSEvent")
 

Function Documentation

◆ qt_filterEvent()

static bool qt_filterEvent ( NSEvent * event)
static

Definition at line 79 of file qcocoaapplication.mm.

References q_macLocalEventType, qApp, and qt_sendPostedMessage().

+ Here is the call graph for this function:

◆ qt_maybeSendKeyEquivalentUpEvent()

static void qt_maybeSendKeyEquivalentUpEvent ( NSEvent * event)
static

Definition at line 98 of file qcocoaapplication.mm.

◆ qt_redirectNSApplicationSendEvent()

QT_BEGIN_NAMESPACE void qt_redirectNSApplicationSendEvent ( )

Definition at line 149 of file qcocoaapplication.mm.

References Qt::AA_PluginApplication, qt_cocoa_change_implementation(), QT_MANGLE_NAMESPACE, and QCoreApplication::testAttribute().

Referenced by QCocoaIntegration::QCocoaIntegration().

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

◆ qt_resetNSApplicationSendEvent()

void qt_resetNSApplicationSendEvent ( )

Definition at line 175 of file qcocoaapplication.mm.

References Qt::AA_PluginApplication, qt_cocoa_change_back_implementation(), QT_MANGLE_NAMESPACE, and QCoreApplication::testAttribute().

Referenced by QCocoaIntegration::~QCocoaIntegration().

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

◆ qt_sendPostedMessage()

static QT_USE_NAMESPACE void qt_sendPostedMessage ( NSEvent * event)
static

Definition at line 51 of file qcocoaapplication.mm.

References a1, a2, and args.

Referenced by qt_filterEvent().

+ Here is the caller graph for this function:

Variable Documentation

◆ q_macLocalEventType

const QByteArray q_macLocalEventType = QByteArrayLiteral("mac_generic_NSEvent")
static

Definition at line 77 of file qcocoaapplication.mm.

Referenced by qt_filterEvent().