![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtWaylandCompositor More...
#include <qwaylandresource.h>
Public Member Functions | |
| QWaylandResource () | |
| Constructs an invalid QWaylandResource. | |
| QWaylandResource (wl_resource *resource) | |
| Constructs a QWaylandResource which contains resource. | |
| wl_resource * | resource () const |
\inmodule QtWaylandCompositor
QWaylandResource is a container for a wl_resource.
The QWaylandResource is a simple wrapper around the Wayland type wl_resource, and makes it possible to use wl_resource pointers in Qt Quick APIs.
Definition at line 15 of file qwaylandresource.h.
| QWaylandResource::QWaylandResource | ( | ) |
Constructs an invalid QWaylandResource.
The \l{resource()} accessor will return null.
Definition at line 24 of file qwaylandresource.cpp.
|
explicit |
Constructs a QWaylandResource which contains resource.
Definition at line 31 of file qwaylandresource.cpp.
|
inline |
Definition at line 25 of file qwaylandresource.h.