digiKam
|
Public Member Functions | |
bool | alwaysMarkedAs (HistoryImageId::Type) const |
ItemInfo | firstItemInfo () const |
bool | markedAs (HistoryImageId::Type) const |
HistoryVertexProperties & | operator+= (const HistoryImageId &info) |
HistoryVertexProperties & | operator+= (const ItemInfo &info) |
HistoryVertexProperties & | operator+= (const QString &uuid) |
bool | operator== (const HistoryImageId &info) const |
bool | operator== (const ItemInfo &info) const |
bool | operator== (const QString &uuid) const |
bool | operator== (qlonglong id) const |
Public Attributes | |
QList< ItemInfo > | infos |
QList< HistoryImageId > | referredImages |
QString | uuid |
Every vertex has one associated object of this class
All entries in a vertex refer to identical images. There can be multiple referred images in a history entry. Each single HistoryImageId can resolve into none, one, or multiple ItemInfos. So there is no mapping between the two fields here.
If an image is created from multiple source images (panorama etc.), there will be one vertex per source image!
bool Digikam::HistoryVertexProperties::alwaysMarkedAs | ( | HistoryImageId::Type | type | ) | const |
References Digikam::HistoryImageId::m_type, and referredImages.
Referenced by Digikam::ItemHistoryGraphData::categorize().
ItemInfo Digikam::HistoryVertexProperties::firstItemInfo | ( | ) | const |
bool Digikam::HistoryVertexProperties::markedAs | ( | HistoryImageId::Type | type | ) | const |
References Digikam::HistoryImageId::m_type, and referredImages.
Referenced by Digikam::ItemHistoryGraphData::categorize().
HistoryVertexProperties & Digikam::HistoryVertexProperties::operator+= | ( | const HistoryImageId & | info | ) |
References referredImages, and uuid.
HistoryVertexProperties & Digikam::HistoryVertexProperties::operator+= | ( | const ItemInfo & | info | ) |
References infos, Digikam::ItemInfo::isNull(), and uuid.
HistoryVertexProperties & Digikam::HistoryVertexProperties::operator+= | ( | const QString & | uuid | ) |
References uuid.
bool Digikam::HistoryVertexProperties::operator== | ( | const HistoryImageId & | info | ) | const |
bool Digikam::HistoryVertexProperties::operator== | ( | const QString & | uuid | ) | const |
References uuid.
bool Digikam::HistoryVertexProperties::operator== | ( | qlonglong | id | ) | const |
References Digikam::ItemInfo::id(), and infos.
QList<HistoryImageId> Digikam::HistoryVertexProperties::referredImages |
Referenced by alwaysMarkedAs(), markedAs(), operator+=(), and operator==().
QString Digikam::HistoryVertexProperties::uuid |
Referenced by operator+=(), and operator==().