![]() |
digiKam
|
#include <dpluginbqm.h>
Signals | |
void | signalVisible (bool) |
Public Member Functions | |
virtual QList< DPluginAuthor > | authors () const =0 |
Returns authors list for the plugin. | |
QStringList | categories () const override |
virtual void | cleanUp () |
int | count () const override |
virtual QString | description () const =0 |
Returns a short description about the plugin. | |
virtual QString | details () const =0 |
Returns a long description about the plugin. | |
DPluginBqm (QObject *const parent=nullptr) | |
virtual QMap< QString, QStringList > | extraAboutData () const |
Returns a map of extra data to show in plugin about dialog. | |
virtual QStringList | extraAboutDataRowTitles () const |
Returns a list of extra data row titles to show in tab of plugin about dialog. | |
virtual QString | extraAboutDataTitle () const |
Returns the tab title of data returned by extraAboutData(). | |
BatchTool * | findToolByName (const QString &name, QObject *const parent) const |
virtual QString | handbookChapter () const |
virtual QString | handbookReference () const |
virtual QString | handbookSection () const |
bool | hasVisibilityProperty () const override |
virtual QIcon | icon () const |
Returns an icon for the plugin. Default implementation return the system plugin icon. | |
QString | ifaceIid () const override |
virtual QString | iid () const =0 |
Returns the unique internal identification property of the plugin. Must be formatted as "org.kde.digikam.plugin._PLUGIN_TYPE_._NAME_OF_PLUGIN_". Examples: "org.kde.digikam.plugin.generic.Calendar" "org.kde.digikam.plugin.editor.AdjustCurvesTool" "org.kde.digikam.plugin.bqm.NoiseReduction". | |
BqmInfoIface * | infoIface () const |
QString | libraryFileName () const |
Returns the file name of the library for this plugin. This string is filled at run-time by plugin loader. | |
virtual QString | name () const =0 |
Returns the user-visible name of the plugin. | |
QStringList | pluginAuthors () const |
void | setLibraryFileName (const QString &) |
Sets the file name of the library for this plugin. This string is filled at run-time by plugin loader. | |
void | setShouldLoaded (bool b) |
virtual void | setup (QObject *const parent)=0 |
void | setVisible (bool b) override |
bool | shouldLoaded () const |
QList< BatchTool * > | tools (QObject *const parent) const |
QString | version () const |
~DPluginBqm () override | |
Protected Member Functions | |
void | addTool (BatchTool *const t) |
|
explicit |
Constructor with optional parent object
|
override |
Destructor
|
protected |
References ifaceIid(), and Digikam::DPlugin::iid().
|
pure virtualinherited |
Returns authors list for the plugin.
Referenced by Digikam::DPluginAboutDlg::DPluginAboutDlg(), and Digikam::DPlugin::pluginAuthors().
|
overridevirtual |
Return a list of batch tool group categories as strings registered in this plugin.
Implements Digikam::DPlugin.
|
inlinevirtualinherited |
Plugin method to clean up internal created objects. This method is called by plugin loader.
|
overridevirtual |
Return the amount of tools registered.
Implements Digikam::DPlugin.
|
pure virtualinherited |
Returns a short description about the plugin.
Referenced by Digikam::DPluginAboutDlg::DPluginAboutDlg().
|
pure virtualinherited |
Returns a long description about the plugin.
Referenced by Digikam::DPluginAboutDlg::DPluginAboutDlg().
|
inlinevirtualinherited |
Returns a map of extra data to show in plugin about dialog.
Reimplemented in Digikam::DPluginDImg.
Referenced by Digikam::DPluginAboutDlg::DPluginAboutDlg().
|
inlinevirtualinherited |
Returns a list of extra data row titles to show in tab of plugin about dialog.
Reimplemented in Digikam::DPluginDImg.
Referenced by Digikam::DPluginAboutDlg::DPluginAboutDlg().
|
inlinevirtualinherited |
Returns the tab title of data returned by extraAboutData().
Reimplemented in Digikam::DPluginDImg.
Referenced by Digikam::DPluginAboutDlg::DPluginAboutDlg().
BatchTool * Digikam::DPluginBqm::findToolByName | ( | const QString & | name, |
QObject *const | parent | ||
) | const |
Return a plugin tool instance found by name in plugin tools list for a given parent.
References Digikam::DPlugin::name(), and tools().
|
virtualinherited |
Return the online handbook chapter from an handbook section corresponding to this plugin. It's used in plugin dialog Help button. By default, no chapter is defined, and root page of the section is loaded by Help Button in this case. Note: a chapter is always included in a section. See handbookSection() for details.
|
virtualinherited |
Return the online handbook reference from an handbook chapter corresponding to this plugin. It's used in plugin dialog Help button. By default, no reference is defined, and root page of the chapter is loaded by Help Button in this case. Note: a reference is always included in a chapter. See handbookChapter() for details.
|
virtualinherited |
Return the online handbook section corresponding to this plugin. It's used in plugin dialog Help button. By default, no section is defined, and root page of the documentation is loaded by Help Button in this case.
|
overridevirtual |
Return true if plugin can be configured in setup dialog about the visibility property. Default implementation return true.
Reimplemented from Digikam::DPlugin.
|
virtualinherited |
Returns an icon for the plugin. Default implementation return the system plugin icon.
Referenced by Digikam::DPluginAboutDlg::DPluginAboutDlg().
|
overridevirtual |
Return the plugin interface identifier.
Implements Digikam::DPlugin.
References DIGIKAM_DPLUGIN_BQM_IID.
Referenced by addTool().
|
pure virtualinherited |
Returns the unique internal identification property of the plugin. Must be formatted as "org.kde.digikam.plugin._PLUGIN_TYPE_._NAME_OF_PLUGIN_". Examples: "org.kde.digikam.plugin.generic.Calendar" "org.kde.digikam.plugin.editor.AdjustCurvesTool" "org.kde.digikam.plugin.bqm.NoiseReduction".
Referenced by Digikam::DPluginEditor::addAction(), Digikam::DPluginGeneric::addAction(), addTool(), Digikam::DPluginLoader::Private::appendPlugin(), Digikam::DPluginAboutDlg::DPluginAboutDlg(), Digikam::EditorCore::load(), and Digikam::SetupRaw::SetupRaw().
BqmInfoIface * Digikam::DPluginBqm::infoIface | ( | ) | const |
Return the info interface instance.
References Digikam::BatchToolsFactory::infoIface(), and Digikam::BatchToolsFactory::instance().
|
inherited |
Returns the file name of the library for this plugin. This string is filled at run-time by plugin loader.
Referenced by Digikam::DPluginAboutDlg::DPluginAboutDlg().
|
pure virtualinherited |
Returns the user-visible name of the plugin.
The user-visible name should be context free, i.e. the name should provide enough information as to what the plugin is about in the context of digiKam.
Referenced by Digikam::DPluginAboutDlg::DPluginAboutDlg(), Digikam::DPluginEditor::findActionByName(), Digikam::DPluginGeneric::findActionByName(), findToolByName(), Digikam::DPlugin::setLibraryFileName(), and Digikam::SetupRaw::SetupRaw().
|
inherited |
Return a list of authors as strings registered in this plugin.
References Digikam::DPlugin::authors().
|
inherited |
Sets the file name of the library for this plugin. This string is filled at run-time by plugin loader.
References Digikam::DPlugin::name().
Referenced by Digikam::DPluginLoader::Private::appendPlugin().
|
inherited |
Accessor to adjust the should loaded plugin property. This property is adjusted by plugin loader at start-up.
Referenced by Digikam::DPluginLoader::Private::appendPlugin().
|
pure virtualinherited |
Plugin factory method to create all internal object instances for a given parent.
Referenced by Digikam::DPluginLoader::registerEditorPlugins(), Digikam::DPluginLoader::registerGenericPlugins(), and Digikam::DPluginLoader::registerRawImportPlugins().
|
overridevirtual |
Holds whether the plugin can be seen in parent view.
Implements Digikam::DPlugin.
References signalVisible().
|
inherited |
Return the should loaded property. If it's true, the plugin must be loaded in application GUI at startup by plugin loader.
Referenced by Digikam::ToolsListView::addTool().
|
signal |
Referenced by setVisible().
QList< BatchTool * > Digikam::DPluginBqm::tools | ( | QObject *const | parent | ) | const |
Return all plugin tools registered in setup() method with addTool() for a given parent.
Referenced by findToolByName().
|
inherited |
Return the internal version used to check the binary compatibility at run-time. This is typically the same version of digiKam core used at compilation time.
Referenced by Digikam::DPluginLoader::Private::appendPlugin(), and Digikam::DPluginAboutDlg::DPluginAboutDlg().