Provides an extension that allows to inhibit the idle behavior of the compositor. 更多...
头: | #include <QWaylandIdleInhibitManagerV1> |
qmake: | QT += waylandcompositor |
Since: | Qt 5.14 |
实例化: | IdleInhibitManagerV1 |
继承: | QWaylandCompositorExtensionTemplate |
该类在 Qt 5.14 引入。
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 .
Constructs a QWaylandIdleInhibitManagerV1 object for the provided compositor .
Constructs a QWaylandIdleInhibitManagerV1 object.
[虚拟]
QWaylandIdleInhibitManagerV1::
~QWaylandIdleInhibitManagerV1
()
销毁 QWaylandIdleInhibitManagerV1 对象。
[override virtual]
void
QWaylandIdleInhibitManagerV1::
initialize
()
Initializes the extension.
[static]
const
struct
wl_interface
*QWaylandIdleInhibitManagerV1::
interface
()
返回 Wayland 接口为 QWaylandIdleInhibitManagerV1 .