digiKam
DigikamRawImportNativePlugin::RawImportNativePlugin Class Reference
+ Inheritance diagram for DigikamRawImportNativePlugin::RawImportNativePlugin:

Signals

void signalDecodedImage (const Digikam::LoadingDescription &, const Digikam::DImg &)
 
void signalLoadRaw (const Digikam::LoadingDescription &)
 

Public Member Functions

QList< DPluginAuthorauthors () const override
 Returns authors list for the plugin. More...
 
QStringList categories () const override
 
virtual void cleanUp ()
 
int count () const override
 
QString description () const override
 Returns a short description about the plugin. More...
 
QString details () const override
 Returns a long description about the plugin. More...
 
virtual QMap< QString, QString > extraAboutData () const
 Returns a list of extra data to show in plugin about dialog. More...
 
virtual QString extraAboutDataTitle () const
 Returns the title of data returned by extraAboiutData(). More...
 
virtual bool hasVisibilityProperty () const
 
QIcon icon () const override
 Returns an icon for the plugin. Default implementation return the system plugin icon. More...
 
QString ifaceIid () const override
 
QString iid () const override
 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". More...
 
QString libraryFileName () const
 Returns the file name of the library for this plugin. This string is filled at run-time by plugin loader. More...
 
QString name () const override
 Returns the user-visible name of the plugin. More...
 
QStringList pluginAuthors () const
 
 RawImportNativePlugin (QObject *const parent=nullptr)
 
bool run (const QString &filePath, const DRawDecoding &def) override
 
void setLibraryFileName (const QString &)
 Sets the file name of the library for this plugin. This string is filled at run-time by plugin loader. More...
 
void setShouldLoaded (bool b)
 
void setup (QObject *const) override
 
void setVisible (bool) override
 
bool shouldLoaded () const
 
QString version () const
 
 ~RawImportNativePlugin () override
 

Constructor & Destructor Documentation

◆ RawImportNativePlugin()

DigikamRawImportNativePlugin::RawImportNativePlugin::RawImportNativePlugin ( QObject *const  parent = nullptr)
explicit

◆ ~RawImportNativePlugin()

DigikamRawImportNativePlugin::RawImportNativePlugin::~RawImportNativePlugin ( )
override

Member Function Documentation

◆ authors()

QList< DPluginAuthor > DigikamRawImportNativePlugin::RawImportNativePlugin::authors ( ) const
overridevirtual

Returns authors list for the plugin.

Implements Digikam::DPlugin.

◆ categories()

QStringList Digikam::DPluginRawImport::categories ( ) const
inlineoverridevirtualinherited

This kind of plugin do not use a category.

Implements Digikam::DPlugin.

◆ cleanUp()

◆ count()

int Digikam::DPluginRawImport::count ( ) const
inlineoverridevirtualinherited

This kind of plugin only provide one tool.

Implements Digikam::DPlugin.

◆ description()

QString DigikamRawImportNativePlugin::RawImportNativePlugin::description ( ) const
overridevirtual

Returns a short description about the plugin.

Implements Digikam::DPlugin.

◆ details()

QString DigikamRawImportNativePlugin::RawImportNativePlugin::details ( ) const
overridevirtual

Returns a long description about the plugin.

Implements Digikam::DPlugin.

◆ extraAboutData()

virtual QMap<QString, QString> Digikam::DPlugin::extraAboutData ( ) const
inlinevirtualinherited

◆ extraAboutDataTitle()

virtual QString Digikam::DPlugin::extraAboutDataTitle ( ) const
inlinevirtualinherited

Returns the title of data returned by extraAboiutData().

Reimplemented in Digikam::DPluginDImg.

Referenced by Digikam::DPluginAboutDlg::DPluginAboutDlg().

◆ hasVisibilityProperty()

bool Digikam::DPlugin::hasVisibilityProperty ( ) const
virtualinherited

Return true if plugin can be configured in setup dialog about the visibility property. Default implementation return true.

Reimplemented in Digikam::DPluginBqm, and Digikam::DPluginDImg.

◆ icon()

QIcon DigikamRawImportNativePlugin::RawImportNativePlugin::icon ( ) const
overridevirtual

Returns an icon for the plugin. Default implementation return the system plugin icon.

Reimplemented from Digikam::DPlugin.

◆ ifaceIid()

QString Digikam::DPluginRawImport::ifaceIid ( ) const
inlineoverridevirtualinherited

Return the plugin interface identifier.

Implements Digikam::DPlugin.

References DIGIKAM_DPLUGIN_RAWIMPORT_IID.

Referenced by run().

◆ iid()

QString DigikamRawImportNativePlugin::RawImportNativePlugin::iid ( ) const
overridevirtual

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".

Implements Digikam::DPlugin.

References DPLUGIN_IID.

Referenced by run().

◆ libraryFileName()

QString Digikam::DPlugin::libraryFileName ( ) const
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().

◆ name()

QString DigikamRawImportNativePlugin::RawImportNativePlugin::name ( ) const
overridevirtual

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.

Implements Digikam::DPlugin.

◆ pluginAuthors()

QStringList Digikam::DPlugin::pluginAuthors ( ) const
inherited

Return a list of authors as strings registered in this plugin.

References Digikam::DPlugin::authors(), and Digikam::DPluginAuthor::name.

◆ run()

bool DigikamRawImportNativePlugin::RawImportNativePlugin::run ( const QString &  path,
const DRawDecoding def 
)
overridevirtual

Function to re-implement used to invoke Raw processor for a Raw file path and a Default Raw decoding settings.

Implements Digikam::DPluginRawImport.

References Digikam::DPluginRawImport::ifaceIid(), iid(), and Digikam::EditorTool::setPlugin().

◆ setLibraryFileName()

void Digikam::DPlugin::setLibraryFileName ( const QString &  name)
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().

◆ setShouldLoaded()

void Digikam::DPlugin::setShouldLoaded ( bool  b)
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().

◆ setup()

void DigikamRawImportNativePlugin::RawImportNativePlugin::setup ( QObject * const  parent)
overridevirtual

Plugin factory method to create all internal object instances for a given parent.

Implements Digikam::DPlugin.

◆ setVisible()

void Digikam::DPluginRawImport::setVisible ( bool  )
inlineoverridevirtualinherited

This kind of plugin do not have GUI visibility attribute.

Implements Digikam::DPlugin.

◆ shouldLoaded()

bool Digikam::DPlugin::shouldLoaded ( ) const
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(), Digikam::DPluginLoader::registerEditorPlugins(), and Digikam::DPluginLoader::registerGenericPlugins().

◆ signalDecodedImage

void Digikam::DPluginRawImport::signalDecodedImage ( const Digikam::LoadingDescription ,
const Digikam::DImg  
)
signalinherited

Signal emitted to notify host application to load pre-decoded Raw preprocessed with these decoding settings.

◆ signalLoadRaw

void Digikam::DPluginRawImport::signalLoadRaw ( const Digikam::LoadingDescription )
signalinherited

Signal emitted to notify host application to load Raw with these decoding settings.

◆ version()

QString Digikam::DPlugin::version ( ) const
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().


The documentation for this class was generated from the following files: