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
qwaylandivisurface_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 QWAYLANDIVISURFACE_P_H
6#define QWAYLANDIVISURFACE_P_H
7
8#include <QtWaylandCompositor/private/qwaylandshellsurface_p.h>
9#include <QtWaylandCompositor/private/qwayland-server-ivi-application.h>
10
11#include <QtWaylandCompositor/QWaylandIviSurface>
12
13#include <QtWaylandCompositor/QWaylandSurfaceRole>
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 QWaylandIviSurfacePrivate
29 : public QWaylandShellSurfacePrivate
30 , public QtWaylandServer::ivi_surface
31{
32 Q_DECLARE_PUBLIC(QWaylandIviSurface)
33
34public:
35 QWaylandIviSurfacePrivate();
36 static QWaylandIviSurfacePrivate *get(QWaylandIviSurface *iviSurface) { return iviSurface->d_func(); }
37
38protected:
39 void ivi_surface_destroy_resource(Resource *resource) override;
40 void ivi_surface_destroy(Resource *resource) override;
41
42private:
43 QWaylandIviApplication *m_iviApplication = nullptr;
44 QWaylandSurface *m_surface = nullptr;
45 uint m_iviId = UINT_MAX;
46
47 static QWaylandSurfaceRole s_role;
48};
49
50QT_END_NAMESPACE
51
52#endif // QWAYLANDIVISURFACE_P_H
\qmltype IviSurface \nativetype QWaylandIviSurface \inqmlmodule QtWayland.Compositor....
\inmodule QtWaylandCompositor
Combined button and popup list for selecting options.