Albert
|
#include <albert/extensionplugin.h>
Convenience base class for extension plugins.
Implements pure virtual functions of Extension and PluginInstance.
Public Member Functions | |
QString | id () const override |
Overrides Extension::id() | |
QString | name () const override |
Overrides Extension::name() | |
QString | description () const override |
Overrides Extension::description() | |
Public Member Functions inherited from albert::PluginInstance | |
const PluginLoader & | loader () const |
The PluginLoader of this instance. | |
albert::ExtensionRegistry & | registry () |
The associated ExtensionRegistry. | |
virtual QWidget * | buildConfigWidget () |
The widget used to configure the plugin in the settings. | |
QString | cacheLocation () const |
The recommended cache location. | |
QString | configLocation () const |
The recommended config location. | |
QString | dataLocation () const |
The recommended data location. | |
std::unique_ptr< QSettings > | settings () const |
Persistent plugin settings. | |
std::unique_ptr< QSettings > | state () const |
Persistent plugin state. | |
Additional Inherited Members | |
Static Public Member Functions inherited from albert::PluginInstance | |
static QDir | createOrThrow (const QString &path) |
Creates a directory, throws an exception if it fails. | |
Protected Member Functions inherited from albert::PluginInstance | |
PluginInstance () | |
virtual | ~PluginInstance () |
Protected Member Functions inherited from albert::Extension | |
virtual | ~Extension () |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |