Obsolete Members for KWaylandExtras

The following members of class KWaylandExtras are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

Signals

(since 6.0, deprecated in 6.28) void windowExported(QWindow *window, const QString &handle)
(deprecated in 6.19) void xdgActivationTokenArrived(int serial, const QString &token)

Static Public Members

(since 6.0, deprecated in 6.28) void exportWindow(QWindow *window)[see note below]
(deprecated in 6.19) void requestXdgActivationToken(QWindow *win, uint32_t serial, const QString &app_id)[see note below]
(since 6.0, deprecated in 6.28) void unexportWindow(QWindow *window)[see note below]

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

Member Function Documentation

[static invokable, since 6.0, deprecated in 6.28] void KWaylandExtras::exportWindow(QWindow *window)

This function is deprecated since 6.28. We strongly advise against using it in new code.

Requests to export the given window using xdg_foreign_v2.

Use exportToplevel() instead.

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

This function was introduced in 6.0.

See also windowExported.

[static invokable, deprecated in 6.19] void KWaylandExtras::requestXdgActivationToken(QWindow *win, uint32_t serial, const QString &app_id)

This function is deprecated since 6.19. We strongly advise against using it in new code.

Requests an xdg_activation_v1 token for a specific window win with the given app_id.

serial Serial of the event that triggered the request.

Use xdgActivationToken() instead.

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

See also lastInputSerial.

[static invokable, since 6.0, deprecated in 6.28] void KWaylandExtras::unexportWindow(QWindow *window)

This function is deprecated since 6.28. We strongly advise against using it in new code.

Unexports the window previously exported using xdg_foreign_v2.

Asks the compositor to revoke the handle.

Use unexportToplevel() instead.

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

This function was introduced in 6.0.

[signal, since 6.0, deprecated in 6.28] void KWaylandExtras::windowExported(QWindow *window, const QString &handle)

This function is deprecated since 6.28. We strongly advise against using it in new code.

The handle of the given window to pass to the client.

Use exportToplevel() instead.

This function was introduced in 6.0.

See also exportWindow.

[signal, deprecated in 6.19] void KWaylandExtras::xdgActivationTokenArrived(int serial, const QString &token)

This function is deprecated since 6.19. We strongly advise against using it in new code.

Activation token to pass to the client.

serial Serial of the event that triggered the request

Use xdgActivationToken() instead.

See also requestXdgActivationToken.