6#include <albert/export.h>
10template <
typename T>
class QList;
25ALBERT_EXPORT
void openUrl(
const QString &url);
28ALBERT_EXPORT
void open(
const QUrl &url);
31ALBERT_EXPORT
void open(
const QString &path);
34ALBERT_EXPORT
void open(
const std::filesystem::path &path);
67ALBERT_EXPORT QString
toQString(
const std::filesystem::path &path);
76ALBERT_EXPORT QString runAppleScript(
const QString &script);
Definition systemutil.h:10
bool havePasteSupport()
Returns the true if the platform supports pasting, else false.
void setClipboardText(const QString &text)
Sets the system clipboard to text.
void open(const QUrl &url)
Opens url with the default handler for the scheme.
QString toQString(const std::filesystem::path &path)
Returns a QString representation of path.
long long runDetachedProcess(const QStringList &commandline)
Starts the commandline in a new process, and detaches from it.
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.