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

(23f6d954ec5a4d9437cad433e957a718aeb9ce49)

#include <AppKit/AppKit.h>
#include "qnswindow.h"
#include "qcocoawindow.h"
#include "qcocoahelpers.h"
#include "qcocoaeventdispatcher.h"
#include "qcocoaintegration.h"
#include <qpa/qwindowsysteminterface.h>
#include "qnswindow.mm"
+ Include dependency graph for qnswindow.mm:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define QNSWINDOW_PROTOCOL_IMPLMENTATION   1
 
#define QNSWINDOW_PROTOCOL_IMPLMENTATION   1
 

Functions

 Q_LOGGING_CATEGORY (lcQpaEvents, "qt.qpa.events")
 
static bool isMouseEvent (NSEvent *ev)
 
NSWindow< QNSWindowProtocol > * qnswindow_cast (NSWindow *window)
 

Macro Definition Documentation

◆ QNSWINDOW_PROTOCOL_IMPLMENTATION [1/2]

#define QNSWINDOW_PROTOCOL_IMPLMENTATION   1

Definition at line 70 of file qnswindow.mm.

◆ QNSWINDOW_PROTOCOL_IMPLMENTATION [2/2]

#define QNSWINDOW_PROTOCOL_IMPLMENTATION   1

Definition at line 70 of file qnswindow.mm.

Function Documentation

◆ isMouseEvent()

static bool isMouseEvent ( NSEvent * ev)
static

Definition at line 18 of file qnswindow.mm.

◆ Q_LOGGING_CATEGORY()

Q_LOGGING_CATEGORY ( lcQpaEvents ,
"qt.qpa.events"  )

◆ qnswindow_cast()

NSWindow< QNSWindowProtocol > * qnswindow_cast ( NSWindow * window)

Definition at line 61 of file qnswindow.mm.

References window().

Referenced by toPlatformWindow().

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