digiKam
Digikam::BasicDImgFilterGenerator< T > Class Template Reference
+ Inheritance diagram for Digikam::BasicDImgFilterGenerator< T >:

Public Member Functions

 BasicDImgFilterGenerator ()
 
DImgThreadedFiltercreateFilter (const QString &filterIdentifier, int version) override
 Create the filter for the given combination of identifier and version. More...
 
QString displayableName (const QString &filterIdentifier) override
 Returns a QString with filter name for displaying in views. More...
 
virtual bool isSupported (const QString &filterIdentifier)
 Convenience methods. More...
 
virtual bool isSupported (const QString &filterIdentifier, int version)
 
QStringList supportedFilters () override
 Returns a list with identifiers of supported filters. More...
 
QList< int > supportedVersions (const QString &filterIdentifier) override
 Returns a list with the supported versions for the given identifier. More...
 

Constructor & Destructor Documentation

◆ BasicDImgFilterGenerator()

A sample implementation for one DImgThreadedFilter class. The class must provide two static methods, FilterIdentifier() and SupportedVersions().

Member Function Documentation

◆ createFilter()

template<class T >
DImgThreadedFilter* Digikam::BasicDImgFilterGenerator< T >::createFilter ( const QString &  filterIdentifier,
int  version 
)
inlineoverridevirtual

Create the filter for the given combination of identifier and version.

Implements Digikam::DImgFilterGenerator.

References T.

◆ displayableName()

template<class T >
QString Digikam::BasicDImgFilterGenerator< T >::displayableName ( const QString &  filterIdentifier)
inlineoverridevirtual

Returns a QString with filter name for displaying in views.

Implements Digikam::DImgFilterGenerator.

◆ isSupported() [1/2]

bool Digikam::DImgFilterGenerator::isSupported ( const QString &  filterIdentifier)
virtualinherited

◆ isSupported() [2/2]

bool Digikam::DImgFilterGenerator::isSupported ( const QString &  filterIdentifier,
int  version 
)
virtualinherited

◆ supportedFilters()

template<class T >
QStringList Digikam::BasicDImgFilterGenerator< T >::supportedFilters ( )
inlineoverridevirtual

Returns a list with identifiers of supported filters.

Implements Digikam::DImgFilterGenerator.

◆ supportedVersions()

template<class T >
QList<int> Digikam::BasicDImgFilterGenerator< T >::supportedVersions ( const QString &  filterIdentifier)
inlineoverridevirtual

Returns a list with the supported versions for the given identifier.

Implements Digikam::DImgFilterGenerator.


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