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
qwindow_platform.h
Go to the documentation of this file.
1// Copyright (C) 2026 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 QWINDOW_PLATFORM_H
6#define QWINDOW_PLATFORM_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is part of the native interface APIs. Usage of
13// this API may make your code source and binary incompatible
14// with future versions of Qt.
15//
16
17#include <QtGui/qtguiglobal.h>
18#include <QtCore/qnativeinterface.h>
19#include <QtGui/qwindow.h>
20
21#if defined(Q_OS_HARMONY) || defined(Q_QDOC)
22#include <QtCore/qharmonyjsobjectref.h>
23#endif
24
25QT_BEGIN_NAMESPACE
26
27namespace QNativeInterface {
28
29#if defined(Q_OS_HARMONY) || defined(Q_QDOC)
30struct Q_GUI_EXPORT QHarmonyWindow
31{
32 QT_DECLARE_NATIVE_INTERFACE(QHarmonyWindow, 1, QWindow)
33 virtual QHarmonyJsObjectRef ability() const = 0;
34 virtual QHarmonyJsObjectRef jsWindow() const = 0;
35};
36#endif
37
38} // QNativeInterface
39
40QT_END_NAMESPACE
41
42#endif // QWINDOW_PLATFORM_H