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)

Public Functions

(since 6.8) void openUnderCursor()
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

[since 6.8] void PlasmaShellWaylandIntegration::openUnderCursor()

Request that the initial position of this surface will be under the cursor

This function was introduced in 6.8.

void PlasmaShellWaylandIntegration::setPanelBehavior(int panelBehavior)

void PlasmaShellWaylandIntegration::setPosition(const QPoint &position)

void PlasmaShellWaylandIntegration::setRole(int role)

void PlasmaShellWaylandIntegration::setTakesFocus(bool takesFocus)