WallpaperPortal Class

(Sailfish::XDP::WallpaperPortal)

Backend interface of the Wallpaper Portal More...

Header: #include <WallpaperPortal>

Properties

Public Functions

WallpaperPortal(QObject *parent)
~WallpaperPortal() = default
uint version() const

Public Slots

uint SetWallpaperURI(const QDBusObjectPath &handle, const QString &app_id, const QString &parent_window, const QString &uri, const QVariantMap &options, uint &result)

Detailed Description

Backend interface of the Wallpaper Portal

See XDG Desktop Portal Backend Specification for details.

Property Documentation

version : const uint

This property contains the backend implementation version.

Access functions:

uint version() const

Member Function Documentation

WallpaperPortal::WallpaperPortal(QObject *parent)

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.