|
Albert
|
#include <QtGlobal>#include <albert/export.h>#include <filesystem>Go to the source code of this file.
Namespaces | |
| namespace | albert |
| Albert core interface namespace. | |
| namespace | albert::util |
| Albert utility namespace. | |
Typedefs | |
| typedef QList< QString > | QStringList |
Functions | |
| void | albert::util::openUrl (const QString &url) |
Opens url with the default handler for the scheme. | |
| void | albert::util::open (const QUrl &url) |
Opens url with the default handler for the scheme. | |
| void | albert::util::open (const QString &path) |
Opens a file at path with the associated default application. | |
| void | albert::util::open (const std::filesystem::path &path) |
Opens a file at path with the associated default application. | |
| void | albert::util::setClipboardText (const QString &text) |
Sets the system clipboard to text. | |
| bool | albert::util::havePasteSupport () |
Returns the true if the platform supports pasting, else false. | |
| void | albert::util::setClipboardTextAndPaste (const QString &text) |
Sets the system clipboard to text and pastes text to the front-most window. | |
| long long | albert::util::runDetachedProcess (const QStringList &commandline) |
Run the commandline as detached process. Returns the process id. | |
| long long | albert::util::runDetachedProcess (const QStringList &commandline, const QString &working_dir) |
Run the commandline with working_dir as detached process. Returns the process id. | |
| void | albert::util::tryCreateDirectory (const std::filesystem::path &path) |
Tries to create a directory at path. | |
| QString | albert::util::toQString (const std::filesystem::path &path) |
Returns a QString representation of path. | |
| typedef QList<QString> QStringList |