digiKam
|
Public Member Functions | |
GroupItemFilterSettings () | |
bool | isAllOpen () const |
bool | isFiltering () const |
Returns if images will be filtered by these criteria at all. More... | |
bool | isOpen (qlonglong group) const |
bool | matches (const ItemInfo &info) const |
bool | operator== (const GroupItemFilterSettings &other) const |
void | setAllOpen (bool open) |
void | setOpen (qlonglong group, bool open) |
DatabaseFields::Set | watchFlags () const |
Protected Attributes | |
bool | m_allOpen |
QSet< qlonglong > | m_openGroups |
|
explicit |
bool Digikam::GroupItemFilterSettings::isAllOpen | ( | ) | const |
References m_allOpen.
bool Digikam::GroupItemFilterSettings::isFiltering | ( | ) | const |
Returns if images will be filtered by these criteria at all.
References m_allOpen.
bool Digikam::GroupItemFilterSettings::isOpen | ( | qlonglong | group | ) | const |
References m_openGroups.
bool Digikam::GroupItemFilterSettings::matches | ( | const ItemInfo & | info | ) | const |
Returns true if the given ItemInfo matches the filter criteria.
References Digikam::ItemInfo::groupImage(), Digikam::ItemInfo::id(), Digikam::ItemInfo::isGrouped(), m_allOpen, and m_openGroups.
Referenced by Digikam::ItemFilterModelFilterer::process().
bool Digikam::GroupItemFilterSettings::operator== | ( | const GroupItemFilterSettings & | other | ) | const |
References m_allOpen, and m_openGroups.
void Digikam::GroupItemFilterSettings::setAllOpen | ( | bool | open | ) |
Open all groups
References m_allOpen.
void Digikam::GroupItemFilterSettings::setOpen | ( | qlonglong | group, |
bool | open | ||
) |
Open or close a group.
References m_openGroups.
DatabaseFields::Set Digikam::GroupItemFilterSettings::watchFlags | ( | ) | const |
References Digikam::DatabaseFields::ImageRelations.
|
protected |
Referenced by isAllOpen(), isFiltering(), matches(), operator==(), and setAllOpen().
|
protected |
Referenced by isOpen(), matches(), operator==(), and setOpen().