5#include <albert/export.h>
9template <
typename T>
class QList;
17ALBERT_EXPORT
void openUrl(
const QString &url);
20ALBERT_EXPORT
void open(
const QUrl &url);
23ALBERT_EXPORT
void open(
const QString &path);
26ALBERT_EXPORT
void open(
const std::filesystem::path &path);
Definition systemutil.h:9
Definition backgroundexecutor.h:12
bool havePasteSupport()
Returns the true if the platform supports pasting, else false.
void open(const QUrl &url)
Opens url with the default handler for the scheme.
void setClipboardTextAndPaste(const QString &text)
Sets the system clipboard to text and pastes text to the front-most window.
void openUrl(const QString &url)
Opens url with the default handler for the scheme.
void tryCreateDirectory(const std::filesystem::path &path)
Tries to create a directory at path.
void setClipboardText(const QString &text)
Sets the system clipboard to text.
long long runDetachedProcess(const QStringList &commandline)
Run the commandline as detached process. Returns the process id.
QList< QString > QStringList
Definition systemutil.h:10