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
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
24QT_DECLARE_NAMESPACED_OBJC_INTERFACE(QNSApplication, NSApplication)
25
26QT_BEGIN_NAMESPACE
27
28void qt_redirectNSApplicationSendEvent();
30
31QT_END_NAMESPACE
32
33#endif // QCOCOAAPPLICATION_H
static bool qt_filterEvent(NSEvent *event)
static QT_USE_NAMESPACE void qt_sendPostedMessage(NSEvent *event)
static const QByteArray q_macLocalEventType
static void qt_maybeSendKeyEquivalentUpEvent(NSEvent *event)
void qt_resetNSApplicationSendEvent()
#define qApp