5#include <QtCore/QObject>
8#include <QtWaylandCompositor/QWaylandCompositor>
9#include <QtWaylandCompositor/QWaylandClient>
22 send_hints(resource->handle,
static_cast<int32_t
>(showIsFullScreen));
36 qWarning() <<
"Failed to find QWaylandCompositor from QWaylandQtWindowManager::windowmanager_open_url()";
65 return d->showIsFullScreen;
72 if (
d->showIsFullScreen ==
value)
75 d->showIsFullScreen =
value;
76 const auto resMap =
d->resourceMap();
77 for (QWaylandQtWindowManagerPrivate::Resource *resource : resMap) {
78 d->send_hints(resource->handle,
static_cast<int32_t
>(
d->showIsFullScreen));
86 QWaylandQtWindowManagerPrivate::Resource *resource =
d->resourceMap().value(client->
client());
89 d->send_quit(resource->handle);
99 qWarning() <<
"Failed to find QWaylandCompositor when initializing QWaylandQtWindowManager";
107 return QWaylandQtWindowManagerPrivate::interface();
112 return QWaylandQtWindowManagerPrivate::interfaceName();
117#include "moc_qwaylandqtwindowmanager.cpp"
iterator insert(const Key &key, const T &value)
T value(const Key &key, const T &defaultValue=T()) const
size_type remove(const Key &key)
\macro QT_RESTRICTED_CAST_FROM_ASCII
\qmltype WaylandClient \instantiates QWaylandClient \inqmlmodule QtWayland.Compositor
static QWaylandClient * fromWlClient(QWaylandCompositor *compositor, wl_client *wlClient)
Returns the QWaylandClient corresponding to the Wayland client wlClient and compositor.
wl_client * client() const
Returns the Wayland client of this QWaylandClient.
\inmodule QtWaylandCompositor
virtual void initialize()
Initializes the QWaylandCompositorExtension.
QWaylandObject * extensionContainer() const
\qmltype WaylandCompositor \instantiates QWaylandCompositor \inqmlmodule QtWayland....
void windowmanager_destroy_resource(Resource *resource) override
void windowmanager_bind_resource(Resource *resource) override
QWaylandQtWindowManagerPrivate()
void windowmanager_open_url(Resource *resource, uint32_t remaining, const QString &url) override
QWaylandQtWindowManager()
void setShowIsFullScreen(bool value)
static QByteArray interfaceName()
void sendQuitMessage(QWaylandClient *client)
void showIsFullScreenChanged()
void initialize() override
Initializes the QWaylandCompositorExtension.
static const struct wl_interface * interface()
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
static QOpenGLCompositor * compositor
GLdouble GLdouble GLdouble GLdouble q
QUrl url("example.com")
[constructor-url-reference]