Sur cette page

QWaylandIdleInhibitManagerV1 Class

Fournit une extension permettant de désactiver le comportement par défaut du compositeur en mode veille. En savoir plus...

En-tête : #include <QWaylandIdleInhibitManagerV1>
CMake : find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
qmake : QT += waylandcompositor
En QML : IdleInhibitManagerV1
Hérite de : QWaylandCompositorExtensionTemplate

Fonctions publiques

Fonctions publiques réimplémentées

virtual void initialize() override

Membres publics statiques

const struct wl_interface *interface()

Description détaillée

L'extension QWaylandIdleInhibitV1 permet à un client d'empêcher le compositeur de passer en mode veille lorsqu'une surface spécifique est visuellement pertinente pour l'utilisateur.

QWaylandIdleInhibitManagerV1 correspond à l'interface Wayland zwp_idle_inhibit_manager_v1.

Les surfaces désactivées ont la propriété ` QWaylandSurface::inhibitsIdle ` définie sur ` true`.

Voir également QWaylandSurface::inhibitsIdle.

Documentation des fonctions membres

QWaylandIdleInhibitManagerV1::QWaylandIdleInhibitManagerV1()

Crée un objet de type `QWaylandIdleInhibitManagerV1`.

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

Crée un objet `QWaylandIdleInhibitManagerV1` pour l'compositor` fournie.

[virtual noexcept] QWaylandIdleInhibitManagerV1::~QWaylandIdleInhibitManagerV1()

Détruit un objet de type « QWaylandIdleInhibitManagerV1 ».

[override virtual] void QWaylandIdleInhibitManagerV1::initialize()

Réimplémente : QWaylandCompositorExtension::initialize().

Initialise l'extension.

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

Renvoie l'interface Wayland correspondant à l'QWaylandIdleInhibitManagerV1.

© 2026 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.