Obsolete Members for KWaylandExtras
The following members of class KWaylandExtras are deprecated. We strongly advise against using them in new code.
Signals
- void windowExported(QWindow *window, const QString &handle) (since 6.0) (deprecated in 6.28)
- void xdgActivationTokenArrived(int serial, const QString &token) (deprecated in 6.19)
Static Public Members
- void exportWindow(QWindow *window) (since 6.0) (deprecated in 6.28)
- void requestXdgActivationToken(QWindow *win, uint32_t serial, const QString &app_id) (deprecated in 6.19)
- void unexportWindow(QWindow *window) (since 6.0) (deprecated in 6.28)
Obsolete 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 Qt 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 Qt 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 Qt 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