#include <albert/extensionplugin.h>
Convenience base class for extension plugins.
Implements pure virtual functions of Extension and PluginInstance.
|
| QString | id () const override |
| | Overrides Extension::id()
|
| |
| QString | name () const override |
| | Overrides Extension::name()
|
| |
| QString | description () const override |
| | Overrides Extension::description()
|
| |
| std::vector< albert::Extension * > | extensions () override |
| | Overrides PluginInstance::extensions()
|
| |
| virtual QWidget * | buildConfigWidget () |
| | The widget used to configure the plugin in the settings.
|
| |
| const PluginLoader & | loader () const |
| | The PluginLoader of this instance.
|
| |
| std::filesystem::path | cacheLocation () const |
| | The recommended cache location.
|
| |
| std::filesystem::path | configLocation () const |
| | The recommended config location.
|
| |
| std::filesystem::path | dataLocation () const |
| | The recommended data location.
|
| |
| std::vector< std::filesystem::path > | dataLocations () const |
| | The existing data locations of this plugin.
|
| |
| std::unique_ptr< QSettings > | settings () const |
| | Persistent plugin settings.
|
| |
| std::unique_ptr< QSettings > | state () const |
| | Persistent plugin state.
|
| |
| void | readKeychain (const QString &key, std::function< void(const QString &)> onSuccess, std::function< void(const QString &)> onError) const |
| | Reads the keychain value for key asynchronously.
|
| |
| void | writeKeychain (const QString &key, const QString &value, std::function< void()> onSuccess, std::function< void(const QString &)> onError) const |
| | Sets the keychain value of key to value asynchronously.
|
| |
◆ description()
| QString albert::util::ExtensionPlugin::description |
( |
| ) |
const |
|
overridevirtual |
Overrides Extension::description()
- Returns
- Plugin description
Implements albert::Extension.
◆ extensions()
◆ id()
| QString albert::util::ExtensionPlugin::id |
( |
| ) |
const |
|
overridevirtual |
◆ name()
| QString albert::util::ExtensionPlugin::name |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following file: