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
qqnxnativeinterface.h
Go to the documentation of this file.
1// Copyright (C) 2012 Research In Motion
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QQNXNATIVEINTERFACE_H
5#define QQNXNATIVEINTERFACE_H
6
7#include <qpa/qplatformnativeinterface.h>
8
10
11class QQnxIntegration;
12
14{
15public:
17 void *nativeResourceForWindow(const QByteArray &resource, QWindow *window) override;
18 void *nativeResourceForScreen(const QByteArray &resource, QScreen *screen) override;
19 void *nativeResourceForIntegration(const QByteArray &resource) override;
20
21#if !defined(QT_NO_OPENGL)
22 void *nativeResourceForContext(const QByteArray &resource, QOpenGLContext *context) override;
23#endif
24
25 void setWindowProperty(QPlatformWindow *window, const QString &name, const QVariant &value) override;
27
28private:
29 QQnxIntegration *m_integration;
30};
31
33
34#endif // QQNXNATIVEINTERFACE_H
\inmodule QtCore
Definition qbytearray.h:57
\inmodule QtGui
The QPlatformNativeInterface class provides an abstraction for retrieving native resource handles.
The QPlatformWindow class provides an abstraction for top-level windows.
void * nativeResourceForScreen(const QByteArray &resource, QScreen *screen) override
void * nativeResourceForWindow(const QByteArray &resource, QWindow *window) override
void * nativeResourceForContext(const QByteArray &resource, QOpenGLContext *context) override
QQnxNativeInterface(QQnxIntegration *integration)
void * nativeResourceForIntegration(const QByteArray &resource) override
NativeResourceForIntegrationFunction nativeResourceFunctionForIntegration(const QByteArray &resource) override
void setWindowProperty(QPlatformWindow *window, const QString &name, const QVariant &value) override
Sets a window property with name to value.
The QScreen class is used to query screen properties. \inmodule QtGui.
Definition qscreen.h:32
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
\inmodule QtCore
Definition qvariant.h:65
\inmodule QtGui
Definition qwindow.h:63
Combined button and popup list for selecting options.
static void * context
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLuint name
QScreen * screen
[1]
Definition main.cpp:29
aWidget window() -> setWindowTitle("New Window Title")
[2]