QWaylandIdleInhibitManagerV1 Class▲
-
Header: QWaylandIdleInhibitManagerV1
-
Since: Qt 5.14
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS Waylandcompositor)
target_link_libraries(mytarget PRIVATE Qt6::Waylandcompositor)
-
qmake: QT += waylandcompositor
-
Inherited By:
-
Instantiated By: qml-qtwayland-compositor-idleinhibitmanagerv1.xml
Detailed Description▲
The QWaylandIdleInhibitV1 extension provides a way for a client to inhibit the idle behavior of the compositor when a specific surface is visually relevant to the user.
QWaylandIdleInhibitManagerV1 corresponds to the Wayland interface, zwp_idle_inhibit_manager_v1.
Inhibited surfaces have the QWaylandSurface::inhibitsIdle property set to true.
See Also▲
See also QWaylandSurface::inhibitsIdle
Member Function Documentation▲
QWaylandIdleInhibitManagerV1::QWaylandIdleInhibitManagerV1()▲
Constructs a QWaylandIdleInhibitManagerV1 object.
[explicit] QWaylandIdleInhibitManagerV1::QWaylandIdleInhibitManagerV1(QWaylandCompositor *compositor)▲
Constructs a QWaylandIdleInhibitManagerV1 object for the provided compositor.
QWaylandIdleInhibitManagerV1::~QWaylandIdleInhibitManagerV1()▲
Destructs a QWaylandIdleInhibitManagerV1 object.
void QWaylandIdleInhibitManagerV1::initialize()▲
Initializes the extension.