23class Q_WAYLANDCOMPOSITOR_EXPORT
QWaylandIviSurface :
public QWaylandShellSurfaceTemplate<QWaylandIviSurface>
26 Q_DECLARE_PRIVATE(QWaylandIviSurface)
27#if QT_CONFIG(wayland_compositor_quick)
28 Q_WAYLAND_COMPOSITOR_DECLARE_QUICK_CHILDREN(QWaylandIviSurface)
30 Q_PROPERTY(QWaylandSurface *surface READ surface NOTIFY surfaceChanged)
31 Q_PROPERTY(uint iviId READ iviId NOTIFY iviIdChanged)
32 Q_MOC_INCLUDE(
"qwaylandsurface.h")
36 QWaylandIviSurface(QWaylandIviApplication *application, QWaylandSurface *surface, uint iviId,
const QWaylandResource &resource);
38 Q_INVOKABLE
void initialize(QWaylandIviApplication *iviApplication, QWaylandSurface *surface,
39 uint iviId,
const QWaylandResource &resource);
41 QWaylandSurface *surface()
const;
44 static const struct wl_interface *interface();
45 static QByteArray interfaceName();
46 static QWaylandSurfaceRole *role();
47 static QWaylandIviSurface *fromResource(::wl_resource *resource);
49 Q_INVOKABLE
void sendConfigure(
const QSize &size);
51#if QT_CONFIG(wayland_compositor_quick)
52 QWaylandQuickShellIntegration *createIntegration(QWaylandQuickShellSurfaceItem *item) override;
56 void surfaceChanged();
60 void initialize() override;