4#ifndef QPLATFORMINTEGRATION_H
5#define QPLATFORMINTEGRATION_H
16#include <QtGui/qtguiglobal.h>
17#include <QtGui/qwindowdefs.h>
18#include <qpa/qplatformscreen.h>
19#include <QtGui/qsurfaceformat.h>
20#include <QtGui/qopenglcontext.h>
36class QPlatformAccessibility;
50template <
typename R,
typename I,
auto func,
typename... Args>
56 if (
auto *iface =
dynamic_cast<I*
>(
obj))
65template <
typename R,
typename I,
typename... Args,
R(I::*
func)(Args...)>
67template <
typename R,
typename I,
typename... Args,
R(I::*
func)(Args...) const>
106 virtual bool hasCapability(Capability
cap)
const;
121 virtual void destroy();
125#ifndef QT_NO_CLIPBOARD
128#if QT_CONFIG(draganddrop)
132#if QT_CONFIG(accessibility)
133 virtual QPlatformAccessibility *accessibility()
const;
174 virtual Qt::KeyboardModifiers queryKeyboardModifiers()
const;
182#ifndef QT_NO_SESSIONMANAGER
191 virtual void setApplicationIcon(
const QIcon &
icon)
const;
194 virtual void beep()
const;
195 virtual void quit()
const;
197#if QT_CONFIG(vulkan) || defined(Q_QDOC)
201 template <
auto func,
typename... Args>
std::vector< ObjCStrongReference< CBMutableService > > services
The QIcon class provides scalable icons in different modes and states.
The QKeyEvent class describes a key event.
OpenGLModuleType
This enum defines the type of the underlying OpenGL implementation.
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.
static QT_BEGIN_NAMESPACE QVariant hint(QPlatformIntegration::StyleHint h)
static const wchar_t * themeNames[QWindowsVistaStylePrivate::NThemes]
static R apply(T *obj, Args... args)