QWaylandIdleInhibitManagerV1 Class

Stellt eine Erweiterung zur Verfügung, die es erlaubt, das Leerlaufverhalten des Compositors zu unterbinden. Mehr...

Kopfzeile: #include <QWaylandIdleInhibitManagerV1>
CMake: find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
qmake: QT += waylandcompositor
In QML: IdleInhibitManagerV1
Vererbt: QWaylandCompositorExtensionTemplate

Öffentliche Funktionen

Reimplementierte öffentliche Funktionen

virtual void initialize() override

Statische öffentliche Mitglieder

const struct wl_interface *interface()

Detaillierte Beschreibung

Die QWaylandIdleInhibitV1-Erweiterung bietet einem Client die Möglichkeit, das Idle-Verhalten des Compositors zu unterbinden, wenn eine bestimmte Oberfläche für den Benutzer visuell relevant ist.

QWaylandIdleInhibitManagerV1 entspricht der Wayland-Schnittstelle, zwp_idle_inhibit_manager_v1.

Bei gesperrten Flächen ist die Eigenschaft QWaylandSurface::inhibitsIdle auf true gesetzt.

Siehe auch QWaylandSurface::inhibitsIdle.

Dokumentation der Mitgliedsfunktionen

QWaylandIdleInhibitManagerV1::QWaylandIdleInhibitManagerV1()

Konstruiert ein QWaylandIdleInhibitManagerV1-Objekt.

[explicit] QWaylandIdleInhibitManagerV1::QWaylandIdleInhibitManagerV1(QWaylandCompositor *compositor)

Konstruiert ein QWaylandIdleInhibitManagerV1-Objekt für das angegebene compositor.

[virtual noexcept] QWaylandIdleInhibitManagerV1::~QWaylandIdleInhibitManagerV1()

Zerstört ein QWaylandIdleInhibitManagerV1 Objekt.

[override virtual] void QWaylandIdleInhibitManagerV1::initialize()

Reimplements: QWaylandCompositorExtension::initialize().

Initialisiert die Erweiterung.

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

Gibt die Wayland-Schnittstelle für die QWaylandIdleInhibitManagerV1 zurück.

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.