|
Albert
|
The Albert namespace. More...
Classes | |
| class | Action |
| Action used by result items (Item). More... | |
| class | App |
| The public app instance interface. More... | |
| class | AsyncGeneratorQueryHandler |
| Coroutine-based asynchronous generator query handler. More... | |
| class | BackgroundExecutor |
| Convenience class for recurring indexing tasks. More... | |
| class | Download |
| Downloads a file from the given URL to the given path. More... | |
| class | Extension |
| Abstract extension class. More... | |
| class | ExtensionPlugin |
| Extension plugin base class. More... | |
| class | FallbackHandler |
| Abstract fallback item provider. More... | |
| class | GeneratorQueryHandler |
| Coroutine-based synchronous generator query handler. More... | |
| class | GlobalQueryHandler |
| Query handler participating in the global search. More... | |
| class | Icon |
| Abstract icon engine. More... | |
| class | IndexItem |
| An item utlized by ItemIndex. More... | |
| class | IndexQueryHandler |
| Index-based global query handler. More... | |
| class | Item |
| Result items displayed in the query results list. More... | |
| class | Match |
| Augmented match score. More... | |
| class | MatchConfig |
| Configuration for string matching. More... | |
| class | Matcher |
| Configurable string matcher. More... | |
| class | Notification |
| The notification class. More... | |
| class | OAuth2 |
| Provides OAuth2 authentication with support for the Authorization Code Flow with PKCE and refresh tokens. More... | |
| class | OAuthConfigWidget |
| Ready to use OAuth login widget. More... | |
| class | PluginInstance |
| Abstract plugin instance class. More... | |
| class | PluginLoader |
| Asynchronous plugin loader. More... | |
| class | PluginMetadata |
| Common plugin metadata. More... | |
| class | PluginProvider |
| Plugin provider interface class. More... | |
| class | QueryContext |
| Query interface. More... | |
| class | QueryExecution |
| Abstract asynchronous query execution interface. More... | |
| class | QueryHandler |
| Base query handler interface for triggered queries. More... | |
| class | QueryResult |
| Result item associating an item with an extension. More... | |
| class | QueryResults |
| Query results container. More... | |
| class | RankedQueryHandler |
| Usage-ranked query handler. More... | |
| class | RankItem |
| An Item with a score. More... | |
| class | StandardItem |
| General purpose Item implementation. More... | |
| class | StrongDependency |
| Convenience holder class for hard plugin dependencies. More... | |
| class | UrlHandler |
| Albert scheme URL handler interface. More... | |
| class | UsageScoring |
| Modifies match scores according to user usage history and preferences. More... | |
| class | WeakDependency |
| Convenience holder class for soft plugin dependencies. More... | |
Concepts | |
| concept | ItemPtr |
| A shared pointer to an Item or subclass thereof. | |
| concept | ItemRange |
| A range of ItemPtr. | |
Functions | |
| QNetworkAccessManager & | network () |
| Returns a global, threadlocal QNetworkAccessManager. | |
| QNetworkReply * | await (QNetworkReply *reply) |
| Blocks until reply is finished. | |
| QString | percentEncoded (const QString &string) |
| Returns string percent encoded. | |
| QString | percentDecoded (const QString &string) |
| Returns string percent decoded. | |
Message boxes | |
| bool | question (const QString &text, QWidget *parent=nullptr) |
| Shows a question message box with Yes and No buttons. | |
| void | information (const QString &text, QWidget *parent=nullptr) |
| Shows an information message box with a single Ok button. | |
| void | warning (const QString &text, QWidget *parent=nullptr) |
| Shows a warning message box with a single Ok button. | |
| void | critical (const QString &text, QWidget *parent=nullptr) |
| Shows a critical message box with a single Ok button. | |
System utility | |
| void | openUrl (const QString &url) |
| Opens url with the default handler for the scheme. | |
| void | open (const QUrl &url) |
| Opens url with the default handler for the scheme. | |
| void | open (const QString &path) |
| Opens a file at path with the associated default application. | |
| void | open (const std::filesystem::path &path) |
| Opens a file at path with the associated default application. | |
| void | setClipboardText (const QString &text) |
| Sets the system clipboard to text. | |
| bool | havePasteSupport () |
Returns the true if the platform supports pasting, else false. | |
| void | setClipboardTextAndPaste (const QString &text) |
| Sets the system clipboard to text and pastes text to the front-most window. | |
| long long | runDetachedProcess (const QStringList &commandline) |
| Starts the commandline in a new process, and detaches from it. | |
| long long | runDetachedProcess (const QStringList &commandline, const QString &working_dir) |
| Starts the commandline in a new process, and detaches from it. | |
| QString | toQString (const std::filesystem::path &path) |
| Returns a QString representation of path. | |
Property editor bindings | |
| template<typename T , typename GET , typename SET > | |
| void | bindWidget (QCheckBox *checkbox, T *object, GET get, SET set) |
Binds a property of type bool of object to checkbox. | |
| template<typename T , typename GET , typename SET , typename SIG > | |
| void | bindWidget (QCheckBox *checkbox, T *object, GET get, SET set, SIG sig) |
Binds a property of type bool of object to checkbox. | |
| template<typename T , typename GET , typename SET > | |
| void | bindWidget (QLineEdit *lineedit, T *object, GET get, SET set) |
Binds a property of type QString of object to lineedit. | |
| template<typename T , typename GET , typename SET , typename SIG > | |
| void | bindWidget (QLineEdit *lineedit, T *object, GET get, SET set, SIG sig) |
Binds a property of type QString of object to lineedit. | |
| template<typename T , typename GET , typename SET > | |
| void | bindWidget (QSpinBox *spinbox, T *object, GET get, SET set) |
Binds a property of type int of object to spinbox. | |
| template<typename T , typename GET , typename SET , typename SIG > | |
| void | bindWidget (QSpinBox *spinbox, T *object, GET get, SET set, SIG sig) |
Binds a property of type int of object to spinbox. | |
| template<typename T , typename GET , typename SET > | |
| void | bindWidget (QDoubleSpinBox *spinbox, T *object, GET get, SET set) |
Binds a property of type double of object to spinbox. | |
| template<typename T , typename GET , typename SET , typename SIG > | |
| void | bindWidget (QDoubleSpinBox *spinbox, T *object, GET get, SET set, SIG sig) |
Binds a property of type double of object to spinbox. | |
The Albert namespace.