|
|
| ItemInfo () |
| | Constructor Creates a null item info.
|
|
| ItemInfo (const ItemInfo &info) |
| | Copy constructor.
|
| | ItemInfo (const ItemListerRecord &record) |
| | Constructor.
|
| | ItemInfo (qlonglong ID) |
| | Constructor.
|
|
| ~ItemInfo () |
| | Destructor.
|
| ItemInfo | copyItem (int dstAlbumID, const QString &dstFileName) |
| | Copy database information of this item to a newly created item.
|
| bool | isLocationAvailable () const |
|
bool | operator!= (const ItemInfo &info) const |
|
bool | operator< (const ItemInfo &info) const |
|
ItemInfo & | operator= (const ItemInfo &info) |
|
bool | operator== (const ItemInfo &info) const |
| bool | isNull () const |
| QString | name () const |
| QDateTime | dateTime () const |
| QDateTime | modDateTime () const |
| qlonglong | fileSize () const |
| QSize | dimensions () const |
| QUrl | fileUrl () const |
| QString | filePath () const |
| QString | relativePath () const |
| qlonglong | id () const |
| int | albumId () const |
| int | albumRootId () const |
| double | aspectRatio () const |
| qlonglong | manualOrder () const |
| DatabaseItem::Category | category () const |
| QString | format () const |
| bool | isVisible () const |
| bool | isRemoved () const |
| int | orientation () const |
| QString | title () const |
| QString | comment () const |
| int | faceCount () const |
| int | unconfirmedFaceCount () const |
| QMap< QString, QString > | getSuggestedNames () const |
| void | setName (const QString &newName) |
| | Set the name (write it to database).
|
| void | setDateTime (const QDateTime &_dateTime) |
| | Set the date and time (write it to database).
|
| void | setModDateTime (const QDateTime &dateTime) |
| | Set the modification date and time (write it to database).
|
|
void | setManualOrder (qlonglong value) |
| | Set the manual sorting order for the item.
|
|
void | setOrientation (int value) |
| | Set the orientation for the item.
|
|
void | setVisible (bool _isVisible) |
| | Set the visibility flag - triggers between Visible and Hidden.
|
| DatabaseFieldsHashRaw | getDatabaseFieldsRaw (const DatabaseFields::Set &requestedSet) const |
|
QVariant | getDatabaseFieldRaw (const DatabaseFields::Set &requestedField) const |
|
ItemPosition | imagePosition () const |
| | Retrieve the ItemPosition object for this item.
|
| double | longitudeNumber () const |
| | Retrieves the coordinates and the altitude.
|
|
double | latitudeNumber () const |
|
double | altitudeNumber () const |
|
bool | hasCoordinates () const |
|
bool | hasAltitude () const |
| DImageHistory | imageHistory () const |
| | Retrieves and sets the item history from the database.
|
|
void | setItemHistory (const DImageHistory &history) |
|
bool | hasImageHistory () const |
|
QString | uuid () const |
| | Retrieves and sets this' item UUID.
|
|
void | setUuid (const QString &_uuid) |
|
HistoryImageId | historyImageId () const |
| | Constructs a HistoryImageId with all available information for this item.
|
|
bool | hasDerivedImages () const |
| | Retrieve information about items from which this item is derived (ancestorImages) and items that have been derived from this items (derivedImages).
|
|
bool | hasAncestorImages () const |
|
QList< ItemInfo > | derivedImages () const |
|
QList< ItemInfo > | ancestorImages () const |
| QList< QPair< qlonglong, qlonglong > > | relationCloud () const |
|
void | markDerivedFrom (const ItemInfo &ancestorImage) |
| | Add a relation to the database: This item is derived from the ancestorImage.
|
|
bool | isGrouped () const |
| | The item is grouped in the group of another (leading) item.
|
|
bool | hasGroupedImages () const |
| | The item is the leading item of a group, there are other items grouped behind this one.
|
|
int | numberOfGroupedImages () const |
| ItemInfo | groupImage () const |
|
qlonglong | groupImageId () const |
| QList< ItemInfo > | groupedImages () const |
|
void | addToGroup (const ItemInfo &info) |
| | Group this item behind the given item.
|
|
void | removeFromGroup () |
| | This item is grouped behind another item: Remove this item from its group.
|
|
void | clearGroup () |
| | This item hasGroupedImages(): Split up the group, remove all groupedImages() from this item's group.
|
|
ImageCommonContainer | imageCommonContainer () const |
| | Retrieve information about the item, in form of numbers and user presentable strings, for certain defined fields of information (see databaseinfocontainers.h).
|
|
ImageMetadataContainer | imageMetadataContainer () const |
|
VideoMetadataContainer | videoMetadataContainer () const |
|
PhotoInfoContainer | photoInfoContainer () const |
|
VideoInfoContainer | videoInfoContainer () const |
|
Template | metadataTemplate () const |
| | Retrieve metadata template information about the item.
|
| void | setMetadataTemplate (const Template &t) |
| | Set metadata template information (write it to database).
|
|
void | removeMetadataTemplate () |
| | Remove all template info about the item from database.
|
| ItemComments | imageComments (const CoreDbAccess &access) const |
| | Retrieve the ItemComments object for this item.
|
| ItemCopyright | imageCopyright () const |
| | Retrieve the ItemCopyright object for this item.
|
| ItemExtendedProperties | imageExtendedProperties () const |
| | Retrieve the ItemExtendedProperties object for this item.
|
| int | pickLabel () const |
| int | colorLabel () const |
| int | rating () const |
|
void | setPickLabel (int value) |
| | Set the pick Label Id for the item (see PickLabel values from globals.h).
|
|
void | setColorLabel (int value) |
| | Set the color Label Id for the item (see ColorLabel values from globals.h).
|
|
void | setRating (int value) |
| | Set the rating for the item.
|
The properties can be read and written. Information will be cached.
- Note
- access rules for all methods in this class: ItemInfoData members shall be accessed only under CoreDbAccess lock. The id and albumId are the exception to this rule, as they are primitive and will never change during the lifetime of an object.