digiKam
Digikam::CoreDbNameFilter Class Reference

Public Member Functions

 CoreDbNameFilter (const QString &filter)
 
bool matches (const QString &name)
 

Protected Attributes

QList< QRegularExpression > m_filterList
 

Constructor & Destructor Documentation

◆ CoreDbNameFilter()

Digikam::CoreDbNameFilter::CoreDbNameFilter ( const QString &  filter)
explicit

Creates a name filter object with the given filter string. The string is a list of text parts of which one needs to match (file suffixes), separated by ';' characters.

References m_filterList, and QT_SKIP_EMPTY_PARTS.

Member Function Documentation

◆ matches()

bool Digikam::CoreDbNameFilter::matches ( const QString &  name)

Returns if the specified name matches this filter

References m_filterList.

Member Data Documentation

◆ m_filterList

QList<QRegularExpression> Digikam::CoreDbNameFilter::m_filterList
protected

Referenced by CoreDbNameFilter(), and matches().


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