Backend interface of the Wallpaper Portal More...
Header: | #include <WallpaperPortal> |
WallpaperPortal(QObject *parent) | |
~WallpaperPortal() = default | |
uint | version() const |
uint | SetWallpaperURI(const QDBusObjectPath &handle, const QString &app_id, const QString &parent_window, const QString &uri, const QVariantMap &options, uint &result) |
Backend interface of the Wallpaper Portal
See XDG Desktop Portal Backend Specification for details.
This property contains the backend implementation version.
Access functions:
uint | version() const |
Default constructs an instance of WallpaperPortal.
[default]
WallpaperPortal::~WallpaperPortal()Destroys the instance of WallpaperPortal.
[slot]
uint WallpaperPortal::SetWallpaperURI(const QDBusObjectPath &handle, const QString &app_id, const QString &parent_window, const QString &uri, const QVariantMap &options, uint &result)Creates an Ambience from the image given by uri
If the show-preview
key is true
in options, opens the Ambience Editor of the Gallery app. If the show-preview
key is unset or false
in options,
See the XDG Desktop Portal Backend Specification for the meaning of handle, app_id, parent_window, result.
Note: The set-on
option is supported, but the lockscreen
value is ignored.