6#include <albert/export.h>
7class NotificationPrivate;
8class QNetworkAccessManager;
31ALBERT_EXPORT QNetworkAccessManager *
network();
54ALBERT_EXPORT std::unique_ptr<QSettings>
settings();
58ALBERT_EXPORT std::unique_ptr<QSettings>
state();
65ALBERT_EXPORT
void openUrl(
const QUrl &url);
69ALBERT_EXPORT
void openUrl(
const QString &url);
77ALBERT_EXPORT
void open(
const QUrl &url);
85ALBERT_EXPORT
void open(
const QString &path);
95ALBERT_EXPORT
void open(
const std::string &path);
115ALBERT_EXPORT
long long runDetachedProcess(
const QStringList &commandline,
const QString &working_dir = {});
QNetworkAccessManager * network()
The global QNetworkAccessManager.
std::unique_ptr< QSettings > settings()
Persistent app settings storage.
bool havePasteSupport()
Check paste support of the platform.
std::unique_ptr< QSettings > state()
The persistent app state storage.
QString dataLocation()
The app data location.
void setClipboardText(const QString &text)
Set the system clipboard.
void open(const QUrl &url)
Open URL with default handler.
QString cacheLocation()
The app cache location.
void restart()
Restart the application.
QString configLocation()
The app config location.
void setClipboardTextAndPaste(const QString &text)
Set the system clipboard and paste the content to the front-most window.
void showSettings(QString plugin_id={})
Open/Show the settings window (of plugin).
void quit()
Quit the application.
long long runDetachedProcess(const QStringList &commandline, const QString &working_dir={})
Run a detached process.
void openUrl(const QUrl &url)
Open the specified url in default browser.
void openWebsite()
Open the albert website in default browser.