Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qcocoaapplication.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// Copyright (c) 2007-2008, Apple, Inc.
3
// SPDX-License-Identifier: BSD-3-Clause
4
// Qt-Security score:significant reason:default
5
6
//
7
// W A R N I N G
8
// -------------
9
//
10
// This file is not part of the Qt API. It exists for the convenience
11
// of qapplication_*.cpp, qwidget*.cpp, qcolor_x11.cpp, qfiledialog.cpp
12
// and many other. This header file may change from version to version
13
// without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
ifndef
QCOCOAAPPLICATION_H
19
#
define
QCOCOAAPPLICATION_H
20
21
#
include
<
qglobal
.
h
>
22
#
include
<
QtCore
/
private
/
qcore_mac_p
.
h
>
23
24
QT_DECLARE_NAMESPACED_OBJC_INTERFACE(QNSApplication, NSApplication)
25
26
QT_BEGIN_NAMESPACE
27
28
void
qt_redirectNSApplicationSendEvent();
29
void
qt_resetNSApplicationSendEvent
();
30
31
QT_END_NAMESPACE
32
33
#
endif
// QCOCOAAPPLICATION_H
qt_filterEvent
static bool qt_filterEvent(NSEvent *event)
Definition
qcocoaapplication.mm:47
qt_sendPostedMessage
static QT_USE_NAMESPACE void qt_sendPostedMessage(NSEvent *event)
Definition
qcocoaapplication.mm:19
q_macLocalEventType
static const QByteArray q_macLocalEventType
Definition
qcocoaapplication.mm:45
qt_maybeSendKeyEquivalentUpEvent
static void qt_maybeSendKeyEquivalentUpEvent(NSEvent *event)
Definition
qcocoaapplication.mm:66
qt_resetNSApplicationSendEvent
void qt_resetNSApplicationSendEvent()
Definition
qcocoaapplication.mm:143
qApp
#define qApp
Definition
qcoreapplication.h:38
qtbase
src
plugins
platforms
cocoa
qcocoaapplication.h
Generated on
for Qt by
1.18.0