QWaylandXdgShellV5 Class

The QWaylandXdgShellV5 class is an extension for desktop-style user interfaces. More...

Header: #include <QWaylandXdgShellV5>
qmake: QT += waylandcompositor
Since: Qt 5.8
Inherits: QWaylandShellTemplate

This class is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This class was introduced in Qt 5.8.

Public Functions

QWaylandXdgShellV5(QWaylandCompositor *compositor)
QWaylandXdgShellV5()

Reimplemented Public Functions

virtual void initialize() override
  • 16 public functions inherited from QObject

Public Slots

uint ping(QWaylandClient *client)
  • 1 public slot inherited from QObject

Static Public Members

const struct wl_interface *interface()
  • 5 static public members inherited from QObject
typedef QObjectList

Macros

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 signal inherited from QObject
  • 8 protected functions inherited from QObject

Detailed Description

The QWaylandXdgShellV5 extension provides a way to associate a QWaylandXdgSurfaceV5 with a regular Wayland surface. Using the xdg_surface interface, the client can request that the surface is resized, moved, and so on.

QWaylandXdgShellV5 corresponds to the Wayland interface xdg_shell.

Member Function Documentation

QWaylandXdgShellV5::QWaylandXdgShellV5(QWaylandCompositor *compositor)

Constructs a QWaylandXdgShellV5 object for the provided compositor.

QWaylandXdgShellV5::QWaylandXdgShellV5()

Constructs a QWaylandXdgShellV5 object.

[slot] uint QWaylandXdgShellV5::ping(QWaylandClient *client)

Sends a ping event to the client. If the client replies to the event, the pong signal will be emitted.

[override virtual] void QWaylandXdgShellV5::initialize()

Initializes the shell extension.

[static] const struct wl_interface *QWaylandXdgShellV5::interface()

Returns the Wayland interface for the QWaylandXdgShellV5.