digiKam
|
Public Member Functions | |
bool | isExemptedBySettings (const ItemInfo &info) const |
bool | isFiltering () const |
Returns if images will be filtered by these criteria at all. More... | |
bool | isFilteringByTags () const |
Returns if the tag is a filter criteria. More... | |
bool | isHiddenBySettings (const ItemInfo &info) const |
bool | matches (const ItemInfo &info) const |
bool | operator== (const VersionItemFilterSettings &other) const |
void | setExceptionList (const QList< qlonglong > &idlist, const QString &id) |
void | setVersionManagerSettings (const VersionManagerSettings &settings) |
— Tags filter — More... | |
VersionItemFilterSettings () | |
VersionItemFilterSettings (const VersionManagerSettings &settings) | |
Protected Attributes | |
QHash< QString, QList< qlonglong > > | m_exceptionLists |
int | m_exceptionTagFilter |
QList< int > | m_excludeTagFilter |
DatabaseFields::Set watchFlags() const: Would return 0. More... | |
int | m_includeTagFilter |
Digikam::VersionItemFilterSettings::VersionItemFilterSettings | ( | ) |
|
explicit |
References setVersionManagerSettings().
bool Digikam::VersionItemFilterSettings::isExemptedBySettings | ( | const ItemInfo & | info | ) | const |
References m_exceptionTagFilter, and Digikam::ItemInfo::tagIds().
Referenced by Digikam::ShowHideVersionsOverlay::updateButton().
bool Digikam::VersionItemFilterSettings::isFiltering | ( | ) | const |
Returns if images will be filtered by these criteria at all.
References m_excludeTagFilter.
Referenced by isFilteringByTags(), and matches().
bool Digikam::VersionItemFilterSettings::isFilteringByTags | ( | ) | const |
Returns if the tag is a filter criteria.
References isFiltering().
bool Digikam::VersionItemFilterSettings::isHiddenBySettings | ( | const ItemInfo & | info | ) | const |
References m_excludeTagFilter, and Digikam::ItemInfo::tagIds().
Referenced by Digikam::ShowHideVersionsOverlay::checkIndex().
bool Digikam::VersionItemFilterSettings::matches | ( | const ItemInfo & | info | ) | const |
Returns true if the given ItemInfo matches the filter criteria.
References Digikam::ItemInfo::id(), isFiltering(), m_exceptionLists, m_exceptionTagFilter, m_excludeTagFilter, m_includeTagFilter, and Digikam::ItemInfo::tagIds().
Referenced by Digikam::ItemFilterModelFilterer::process().
bool Digikam::VersionItemFilterSettings::operator== | ( | const VersionItemFilterSettings & | other | ) | const |
References m_exceptionLists, and m_excludeTagFilter.
void Digikam::VersionItemFilterSettings::setExceptionList | ( | const QList< qlonglong > & | idlist, |
const QString & | id | ||
) |
Add list with exceptions: These images will be exempted from filtering by this filter
References m_exceptionLists.
void Digikam::VersionItemFilterSettings::setVersionManagerSettings | ( | const VersionManagerSettings & | settings | ) |
— Tags filter —
References Digikam::InternalTagName::currentVersion(), Digikam::VersionManagerSettings::enabled, Digikam::TagsCache::getOrCreateInternalTag(), Digikam::TagsCache::instance(), Digikam::InternalTagName::intermediateVersion(), m_exceptionTagFilter, m_excludeTagFilter, m_includeTagFilter, Digikam::InternalTagName::originalVersion(), Digikam::VersionManagerSettings::ShowIntermediates, Digikam::VersionManagerSettings::showInViewFlags, Digikam::VersionManagerSettings::ShowOriginal, and Digikam::InternalTagName::versionAlwaysVisible().
Referenced by VersionItemFilterSettings().
|
protected |
Referenced by matches(), operator==(), and setExceptionList().
|
protected |
Referenced by isExemptedBySettings(), matches(), and setVersionManagerSettings().
|
protected |
DatabaseFields::Set watchFlags() const: Would return 0.
Referenced by isFiltering(), isHiddenBySettings(), matches(), operator==(), and setVersionManagerSettings().
|
protected |
Referenced by matches(), and setVersionManagerSettings().