digiKam
Digikam::Filter Class Reference

Public Member Functions

 Filter ()
 
void fromString (const QString &filter)
 
bool match (const QStringList &wildcards, const QString &name)
 
bool matchesCurrentFilter (const CamItemInfo &item)
 
const QStringList & mimeWildcards (const QString &mime)
 
const QRegExp & regexp (const QString &wildcard)
 
QString toString ()
 
 ~Filter ()
 

Public Attributes

QStringList fileFilter
 
QHash< QString, QRegExp > filterHash
 
QString mimeFilter
 
QHash< QString, QStringList > mimeHash
 
QString name
 
bool onlyNew
 
QStringList pathFilter
 

Constructor & Destructor Documentation

◆ Filter()

Digikam::Filter::Filter ( )
explicit

◆ ~Filter()

Digikam::Filter::~Filter ( )

Member Function Documentation

◆ fromString()

void Digikam::Filter::fromString ( const QString &  filter)

◆ match()

bool Digikam::Filter::match ( const QStringList &  wildcards,
const QString &  name 
)

References name, and regexp().

Referenced by matchesCurrentFilter().

◆ matchesCurrentFilter()

◆ mimeWildcards()

const QStringList & Digikam::Filter::mimeWildcards ( const QString &  mime)

References mimeHash.

Referenced by matchesCurrentFilter().

◆ regexp()

const QRegExp & Digikam::Filter::regexp ( const QString &  wildcard)

References filterHash.

Referenced by match().

◆ toString()

QString Digikam::Filter::toString ( )

Member Data Documentation

◆ fileFilter

◆ filterHash

QHash<QString, QRegExp> Digikam::Filter::filterHash

Referenced by regexp().

◆ mimeFilter

◆ mimeHash

QHash<QString, QStringList> Digikam::Filter::mimeHash

Referenced by mimeWildcards().

◆ name

◆ onlyNew

◆ pathFilter


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