EmailPortal Class

(Sailfish::XDP::EmailPortal)

Backend interface of the Email Portal More...

Header: #include <EmailPortal>

Public Functions

EmailPortal(QObject *parent)

Public Slots

uint ComposeEmail(const QDBusObjectPath &handle, const QString &app_id, const QString &parent_window, const QVariantMap &options, QVariantMap &results)

Detailed Description

Backend interface of the Email Portal

See XDG Desktop Portal Backend Specification for details.

Member Function Documentation

EmailPortal::EmailPortal(QObject *parent)

Default constructs an instance of EmailPortal.

[slot] uint EmailPortal::ComposeEmail(const QDBusObjectPath &handle, const QString &app_id, const QString &parent_window, const QVariantMap &options, QVariantMap &results)

Opens the EMail application to create a new email.

See the XDG Desktop Portal Specification for possible values of options. See the XDG Desktop Portal Backend Specification for the meaning of handle, app_id, parent_window, results.

Note: Due to a limitation of Sailfish OS, attachments are currently not supported.