QWaylandIdleInhibitManagerV1 Class

Provides an extension that allows to inhibit the idle behavior of the compositor. 更多...

头: #include <QWaylandIdleInhibitManagerV1>
CMake: find_package(Qt6 COMPONENTS Waylandcompositor REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::Waylandcompositor)
qmake: QT += waylandcompositor
Since: Qt 5.14
实例化: IdleInhibitManagerV1
继承: QWaylandCompositorExtensionTemplate

公共函数

  QWaylandIdleInhibitManagerV1 (QWaylandCompositor * compositor )
  QWaylandIdleInhibitManagerV1 ()
virtual ~QWaylandIdleInhibitManagerV1 ()

重实现公共函数

virtual void initialize () override

静态公共成员

const struct wl_interface * interface ()

详细描述

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 特性被设为 true .

另请参阅 QWaylandSurface::inhibitsIdle .

成员函数文档编制

QWaylandIdleInhibitManagerV1:: QWaylandIdleInhibitManagerV1 ( QWaylandCompositor * compositor )

Constructs a QWaylandIdleInhibitManagerV1 object for the provided compositor .

QWaylandIdleInhibitManagerV1:: QWaylandIdleInhibitManagerV1 ()

Constructs a QWaylandIdleInhibitManagerV1 object.

[虚拟] QWaylandIdleInhibitManagerV1:: ~QWaylandIdleInhibitManagerV1 ()

销毁 QWaylandIdleInhibitManagerV1 对象。

[override virtual] void QWaylandIdleInhibitManagerV1:: initialize ()

Initializes the extension.

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

返回 Wayland 接口为 QWaylandIdleInhibitManagerV1 .