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