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
qcocoanativeinterface.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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QCOCOANATIVEINTERFACE_H
6
#
define
QCOCOANATIVEINTERFACE_H
7
8
#
include
<
ApplicationServices
/
ApplicationServices
.
h
>
9
10
#
include
<
qpa
/
qplatformnativeinterface
.
h
>
11
#
include
<
QtGui
/
qpixmap
.
h
>
12
Q_MOC_INCLUDE(<QWindow>)
13
14
QT_BEGIN_NAMESPACE
15
16
class
QWidget;
17
class
QPrintEngine;
18
class
QPlatformMenu;
19
class
QPlatformMenuBar;
20
21
class
QCocoaNativeInterface
:
public
QPlatformNativeInterface
22
{
23
Q_OBJECT
24
public
:
25
QCocoaNativeInterface
();
26
27
void
*
nativeResourceForWindow
(
const
QByteArray &resourceString, QWindow *window)
override
;
28
29
NativeResourceForIntegrationFunction
nativeResourceFunctionForIntegration
(
const
QByteArray &resource)
override
;
30
31
private
:
32
Q_INVOKABLE
void
clearCurrentThreadCocoaEventDispatcherInterruptFlag();
33
34
static
void
registerDraggedTypes(
const
QStringList &types);
35
36
// Register if a window should deliver touch events. Enabling
37
// touch events has implications for delivery of other events,
38
// for example by causing scrolling event lag.
39
//
40
// The registration is ref-counted: multiple widgets can enable
41
// touch events, which then will be delivered until the widget
42
// deregisters.
43
static
void
registerTouchWindow(QWindow *window,
bool
enable);
44
};
45
46
QT_END_NAMESPACE
47
48
#
endif
// QCOCOANATIVEINTERFACE_H
QByteArray::FromBase64Result
\inmodule QtCore
Definition
qbytearray.h:820
QCocoaEventDispatcher
Definition
qcocoaeventdispatcher.h:46
QCocoaEventDispatcher::clearCurrentThreadCocoaEventDispatcherInterruptFlag
static void clearCurrentThreadCocoaEventDispatcherInterruptFlag()
Definition
qcocoaeventdispatcher.mm:936
QCocoaNativeInterface
Definition
qcocoanativeinterface.h:22
QCocoaNativeInterface::nativeResourceForWindow
void * nativeResourceForWindow(const QByteArray &resourceString, QWindow *window) override
Definition
qcocoanativeinterface.mm:43
QCocoaNativeInterface::nativeResourceFunctionForIntegration
NativeResourceForIntegrationFunction nativeResourceFunctionForIntegration(const QByteArray &resource) override
Definition
qcocoanativeinterface.mm:61
QCocoaWindow
Definition
qcocoawindow.h:74
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtbase
src
plugins
platforms
cocoa
qcocoanativeinterface.h
Generated on
for Qt by
1.16.1