PlasmaShellWaylandIntegration Class
The PlasmaWaylandShellIntegration class exposes Plasma specific specific wayland extensions for. More...
| Header: | #include <PlasmaQuick/PlasmaShellWaylandIntegration> |
| CMake: | find_package(PlasmaQuick REQUIRED)target_link_libraries(mytarget PRIVATE Plasma::PlasmaQuick) |
| Inherits: | QObject |
Public Functions
| void | setPanelBehavior(int panelBehavior) |
| void | setPosition(const QPoint &position) |
| void | setRole(int role) |
| void | setTakesFocus(bool takesFocus) |
Static Public Members
| PlasmaShellWaylandIntegration * | get(QWindow *window) |
Detailed Description
The class abstracts the wayland protocol tasks, automatically sending cached metadata when the underlying platform surfaces are created.
Member Function Documentation
[static] PlasmaShellWaylandIntegration *PlasmaShellWaylandIntegration::get(QWindow *window)
Returns the relevant PlasmaWaylandShellIntegration instance for this window creating one if needed.
A valid instance will always returned, it will no-op on unsupported platforms