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
qwaylandiviapplication_p.h
Go to the documentation of this file.
1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3// Qt-Security score:critical reason:network-protocol
4
5#ifndef QWAYLANDIVIAPPLICATION_P_H
6#define QWAYLANDIVIAPPLICATION_P_H
7
8#include <QtWaylandCompositor/private/qwaylandcompositorextension_p.h>
9#include <QtWaylandCompositor/private/qwayland-server-ivi-application.h>
10
11#include <QtWaylandCompositor/QWaylandIviApplication>
12
13#include <QHash>
14
15//
16// W A R N I N G
17// -------------
18//
19// This file is not part of the Qt API. It exists purely as an
20// implementation detail. This header file may change from version to
21// version without notice, or even be removed.
22//
23// We mean it.
24//
25
27
28class Q_WAYLANDCOMPOSITOR_EXPORT QWaylandIviApplicationPrivate
29 : public QWaylandCompositorExtensionPrivate
30 , public QtWaylandServer::ivi_application
31{
32 Q_DECLARE_PUBLIC(QWaylandIviApplication)
33
34public:
35 QWaylandIviApplicationPrivate();
36 static QWaylandIviApplicationPrivate *get(QWaylandIviApplication *iviApplication) { return iviApplication->d_func(); }
37 void unregisterIviSurface(QWaylandIviSurface *iviSurface);
38
39 QHash<uint, QWaylandIviSurface*> m_iviSurfaces;
40
41protected:
42 void ivi_application_surface_create(Resource *resource, uint32_t ivi_id, wl_resource *surface, uint32_t id) override;
43};
44
45QT_END_NAMESPACE
46
47#endif // QWAYLANDIVIAPPLICATION_P_H
\qmltype IviApplication \nativetype QWaylandIviApplication \inqmlmodule QtWayland....
Combined button and popup list for selecting options.