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