7#if QT_CONFIG(wayland_compositor_quick)
11#include <QtWaylandCompositor/QWaylandResource>
14#include <QtWaylandCompositor/private/qwaylandutils_p.h>
78 d->m_iviApplication = iviApplication;
131 return QWaylandIviSurfacePrivate::interface();
136 return QWaylandIviSurfacePrivate::interfaceName();
144 return &QWaylandIviSurfacePrivate::s_role;
152 if (
auto p = QtWayland::fromResource<QWaylandIviSurfacePrivate *>(resource))
168 if (!
size.isValid()) {
169 qWarning() <<
"Can't configure ivi_surface with an invalid size" <<
size;
173 d->send_configure(
size.width(),
size.height());
176#if QT_CONFIG(wayland_compositor_quick)
205 wl_resource_destroy(resource->handle);
210#include "moc_qwaylandivisurface.cpp"
void setExtensionContainer(QWaylandObject *container)
Sets the extension container for this QWaylandCompositorExtension to container.
virtual void initialize()
Initializes the QWaylandCompositorExtension.
static QWaylandIviApplicationPrivate * get(QWaylandIviApplication *iviApplication)
void unregisterIviSurface(QWaylandIviSurface *iviSurface)
\qmltype IviApplication \instantiates QWaylandIviApplication \inqmlmodule QtWayland....
QWaylandIviSurfacePrivate()
void ivi_surface_destroy_resource(Resource *resource) override
void ivi_surface_destroy(Resource *resource) override
\qmltype IviSurface \instantiates QWaylandIviSurface \inqmlmodule QtWayland.Compositor....
static const struct wl_interface * interface()
Returns the Wayland interface for the QWaylandIviSurface.
void initialize() override
QWaylandIviSurface()
Constructs a QWaylandIviSurface.
static QWaylandSurfaceRole * role()
Returns the surface role for the QWaylandIviSurface.
QWaylandSurface * surface
\qmlproperty WaylandSurface IviSurface::surface
Q_INVOKABLE void sendConfigure(const QSize &size)
\qmlmethod int IviSurface::sendConfigure(size size)
uint iviId
\qmlproperty int IviSurface::iviId \readonly
static QByteArray interfaceName()
static QWaylandIviSurface * fromResource(::wl_resource *resource)
Returns the QWaylandIviSurface corresponding to the resource.
\inmodule QtWaylandCompositor
\qmltype ShellSurfaceItem \instantiates QWaylandQuickShellSurfaceItem \inherits WaylandQuickItem \inq...
\inmodule QtWaylandCompositor
wl_resource * resource() const
\inmodule QtWaylandCompositor
\inmodule QtWaylandCompositor
\qmltype WaylandSurface \instantiates QWaylandSurface \inqmlmodule QtWayland.Compositor
Combined button and popup list for selecting options.
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLdouble GLdouble GLdouble GLdouble q