QWaylandIdleInhibitManagerV1 Class
Fournit une extension qui permet d'inhiber le comportement inactif du compositeur. 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éritages : | QWaylandCompositorExtensionTemplate |
Fonctions publiques
| QWaylandIdleInhibitManagerV1() | |
| QWaylandIdleInhibitManagerV1(QWaylandCompositor *compositor) | |
| virtual | ~QWaylandIdleInhibitManagerV1() |
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'inhiber le comportement d'inactivité du compositeur lorsqu'une surface spécifique est visuellement pertinente pour l'utilisateur.
QWaylandIdleInhibitManagerV1 correspond à l'interface Wayland, zwp_idle_inhibit_manager_v1.
Les surfaces inhibées ont la propriété QWaylandSurface::inhibitsIdle définie sur true.
Voir également QWaylandSurface::inhibitsIdle.
Documentation des fonctions membres
QWaylandIdleInhibitManagerV1::QWaylandIdleInhibitManagerV1()
Construit un objet QWaylandIdleInhibitManagerV1.
[explicit] QWaylandIdleInhibitManagerV1::QWaylandIdleInhibitManagerV1(QWaylandCompositor *compositor)
Construit un objet QWaylandIdleInhibitManagerV1 pour le site compositor fourni.
[virtual noexcept] QWaylandIdleInhibitManagerV1::~QWaylandIdleInhibitManagerV1()
Détruit un objet QWaylandIdleInhibitManagerV1.
[override virtual] void QWaylandIdleInhibitManagerV1::initialize()
Réimplémente : QWaylandCompositorExtension::initialize().
Initialise l'extension.
[static] const struct wl_interface *QWaylandIdleInhibitManagerV1::interface()
Retourne l'interface Wayland pour le site 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.