6#include <QtCore/private/qobject_p.h>
7#include <QtWaylandCompositor/qwaylandsurface.h>
8#include <QtWaylandCompositor/qwaylandcompositor.h>
9#include <QtWaylandCompositor/private/qwaylandsurface_p.h>
77 if (!
buf.hasBuffer()) {
82 d->surface->compositor()->grabSurface(
this,
buf);
87#include "moc_qwaylandsurfacegrabber.cpp"
\inmodule QtWaylandCompositor
\inmodule QtWaylandCompositor
void grab()
Grab the content of the surface set on this object.
QWaylandSurfaceGrabber(QWaylandSurface *surface, QObject *parent=nullptr)
Create a QWaylandSurfaceGrabber object with the given surface and parent.
QWaylandSurface * surface() const
Returns the surface set on this object.
static QWaylandSurfacePrivate * get(QWaylandSurface *surface)
QWaylandBufferRef bufferRef
\qmltype WaylandSurface \instantiates QWaylandSurface \inqmlmodule QtWayland.Compositor
Combined button and popup list for selecting options.
GLenum GLuint GLenum GLsizei const GLchar * buf
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent