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.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
/****************************************************************************
5
**
6
** Copyright (c) 2007-2008, Apple, Inc.
7
**
8
** All rights reserved.
9
**
10
** Redistribution and use in source and binary forms, with or without
11
** modification, are permitted provided that the following conditions are met:
12
**
13
** * Redistributions of source code must retain the above copyright notice,
14
** this list of conditions and the following disclaimer.
15
**
16
** * Redistributions in binary form must reproduce the above copyright notice,
17
** this list of conditions and the following disclaimer in the documentation
18
** and/or other materials provided with the distribution.
19
**
20
** * Neither the name of Apple, Inc. nor the names of its contributors
21
** may be used to endorse or promote products derived from this software
22
** without specific prior written permission.
23
**
24
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
25
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
26
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
27
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
28
** CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
29
** EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
30
** PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
31
** PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
32
** LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
33
** NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
34
** SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35
**
36
****************************************************************************/
37
38
//
39
// W A R N I N G
40
// -------------
41
//
42
// This file is not part of the Qt API. It exists for the convenience
43
// of qapplication_*.cpp, qwidget*.cpp, qcolor_x11.cpp, qfiledialog.cpp
44
// and many other. This header file may change from version to version
45
// without notice, or even be removed.
46
//
47
// We mean it.
48
//
49
50
#ifndef QCOCOAAPPLICATION_H
51
#define QCOCOAAPPLICATION_H
52
53
#include <
qglobal.h
>
54
#include <QtCore/private/qcore_mac_p.h>
55
56
QT_DECLARE_NAMESPACED_OBJC_INTERFACE
(
QNSApplication
, NSApplication)
57
58
QT_BEGIN_NAMESPACE
59
60
void
qt_redirectNSApplicationSendEvent
();
61
void
qt_resetNSApplicationSendEvent
();
62
63
QT_END_NAMESPACE
64
65
#endif
// QCOCOAAPPLICATION_H
QNSApplication
Definition
qcocoaapplication.mm:113
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
qt_redirectNSApplicationSendEvent
QT_BEGIN_NAMESPACE void qt_redirectNSApplicationSendEvent()
Definition
qcocoaapplication.mm:149
qt_resetNSApplicationSendEvent
void qt_resetNSApplicationSendEvent()
Definition
qcocoaapplication.mm:175
QT_DECLARE_NAMESPACED_OBJC_INTERFACE
#define QT_DECLARE_NAMESPACED_OBJC_INTERFACE(classname, definition)
Definition
qcore_mac_p.h:70
qglobal.h
qtbase
src
plugins
platforms
cocoa
qcocoaapplication.h
Generated by
1.10.0