4#ifndef QPLATFORMINTEGRATION_COCOA_H
5#define QPLATFORMINTEGRATION_COCOA_H
20#include <QtCore/QScopedPointer>
21#include <qpa/qplatformintegration.h>
22#include <QtGui/private/qcoretextfontdatabase_p.h>
24# include <QtGui/private/qopenglcontext_p.h>
26#include <QtGui/private/qapplekeymapper_p.h>
34 ,
public QNativeInterface::Private::QCocoaGLIntegration
67#if QT_CONFIG(sessionmanager)
74#if QT_CONFIG(accessibility)
75 QCocoaAccessibility *accessibility()
const override;
77#ifndef QT_NO_CLIPBOARD
93 void beep()
const override;
94 void quit()
const override;
97 void focusWindowChanged(
QWindow *);
106#if QT_CONFIG(accessibility)
110#ifndef QT_NO_CLIPBOARD
QPlatformWindow * createForeignWindow(QWindow *window, WId nativeHandle) const override
QPlatformBackingStore * createPlatformBackingStore(QWindow *widget) const override
Factory function for QPlatformBackingStore.
QVariant styleHint(StyleHint hint) const override
QList< int > possibleKeys(const QKeyEvent *event) const override
Should be used to obtain a list of possible shortcuts for the given key event.
static QCocoaIntegration * instance()
bool hasCapability(QPlatformIntegration::Capability cap) const override
void setApplicationIcon(const QIcon &icon) const override
QPlatformOpenGLContext * createPlatformOpenGLContext(QOpenGLContext *context) const override
Factory function for QPlatformOpenGLContext.
QCocoaClipboard * clipboard() const override
Accessor for the platform integration's clipboard.
QCocoaServices * services() const override
QCocoaDrag * drag() const override
void quit() const override
void setApplicationBadge(qint64 number) override
Qt::KeyboardModifiers queryKeyboardModifiers() const override
QOpenGLContext * createOpenGLContext(NSOpenGLContext *, QOpenGLContext *shareContext) const override
QPlatformOffscreenSurface * createPlatformOffscreenSurface(QOffscreenSurface *surface) const override
Factory function for QOffscreenSurface.
QPlatformWindow * createPlatformWindow(QWindow *window) const override
Factory function for QPlatformWindow.
void beep() const override
QAbstractEventDispatcher * createEventDispatcher() const override
Factory function for the GUI event dispatcher.
QPlatformTheme * createPlatformTheme(const QString &name) const override
QPlatformInputContext * inputContext() const override
Returns the platforms input context.
QCocoaNativeInterface * nativeInterface() const override
QStringList themeNames() const override
QCoreTextFontDatabase * fontDatabase() const override
Accessor for the platform integration's fontdatabase.
The QIcon class provides scalable icons in different modes and states.
The QKeyEvent class describes a key event.
The QPlatformInputContext class abstracts the input method dependent data and composing state.
The QPlatformOpenGLContext class provides an abstraction for native GL contexts.
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QVulkanInstance class represents a native Vulkan instance, enabling Vulkan rendering onto a QSurf...
Combined button and popup list for selecting options.
#define Q_FORWARD_DECLARE_OBJC_CLASS(classname)
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
static QT_BEGIN_NAMESPACE QVariant hint(QPlatformIntegration::StyleHint h)