|
QList< DPlugin * > | allPlugins () const |
| Returns all available plugins.
|
|
void | appendPluginToBlackList (const QString &filename) |
| appendPluginToBlackList Prevent that a plugin is loaded from the given filename
|
|
void | appendPluginToWhiteList (const QString &filename) |
| appendPluginToWhiteList Add a plugin to the whitelist of tools.
|
|
bool | canExport (const QString &format) const |
| Return true if format is supported by a DPluginDImg to export image.
|
|
bool | canImport (const QString &format) const |
| Return true if format is supported by a DPluginDImg to import image.
|
|
void | cleanUp () |
| Unload all loaded plugins.
|
|
QString | configGroupName () const |
| Return the config group name used to store the list of plugins to load at startup.
|
|
DImgLoaderSettings * | exportWidget (const QString &format) const |
| Return a new widget instance from a DPluginDImg to show settings while exporting image to specified format.
|
|
void | init () |
| Init plugin loader.
|
|
DPluginAction * | pluginAction (const QString &actionName, QObject *const parent) const |
| Returns the plugin action corresponding to a action name for a given parent.
|
|
QList< DPluginAction * > | pluginActions (const QString &pluginIID, QObject *const parent) const |
| Returns the plugin actions corresponding to a plugin internal ID string for a given parent.
|
|
QList< DPluginAction * > | pluginsActions (DPluginAction::ActionCategory cat, QObject *const parent) const |
| Returns a list of plugin actions set as category for a given parent.
|
|
QList< DPluginAction * > | pluginsActions (DPluginAction::ActionType type, QObject *const parent) const |
| Returns a list of plugin actions set as type for a given parent.
|
|
QString | pluginXmlSections (DPluginAction::ActionCategory cat, QObject *const parent) const |
| Returns all xml sections as string of plugin actions set with a kind of category for a given parent.
|
|
void | registerEditorPlugins (QObject *const parent) |
| Register all Editor plugin actions to parent object.
|
|
void | registerGenericPlugins (QObject *const parent) |
| Register all Generic plugin actions to parent object.
|
|
void | registerRawImportPlugins (QObject *const parent) |
| Register all Raw Import plugin to parent object.
|
|
Ownership policy for plugins:
The DPluginLoader creates new objects and transfer ownership. In order to create the objects, the DPluginLoader internally has a list of the tools which are owned by the DPluginLoader and destroyed by it.