|
| HistoryImageId ()=default |
| Creates an invalid HistoryImageId.
|
|
| HistoryImageId (const QString &uuid, Type type=Current) |
| Creates an id with the given UUID and type.
|
|
QDateTime | creationDate () const |
|
QString | fileName () const |
| If a file on disk is referenced: Returns the file name (without folder)
|
|
QString | filePath () const |
| If a file on disk is referenced: Returns the full file path (folder + filename)
|
|
qlonglong | fileSize () const |
|
bool | hasCreationDate () const |
|
bool | hasFileName () const |
|
bool | hasFileOnDisk () const |
|
bool | hasUniqueHashIdentifier () const |
|
bool | hasUuid () const |
|
bool | isCurrentFile () const |
|
bool | isIntermediateFile () const |
|
bool | isOriginalFile () const |
|
bool | isSourceFile () const |
|
bool | isValid () const |
| A valid id needs at least a valid type and a UUID or a filename.
|
|
bool | operator== (const HistoryImageId &other) const |
|
QString | originalUuid () const |
|
QString | path () const |
| If a file on disk is referenced: Returns the path, without filename, with a trailing slash.
|
|
void | setCreationDate (const QDateTime &creationDate) |
|
void | setFileName (const QString &fileName) |
|
void | setPath (const QString &path) |
|
void | setPathOnDisk (const QString &filePath) |
|
void | setType (HistoryImageId::Type type) |
|
void | setUniqueHash (const QString &uniqueHash, qlonglong fileSize) |
|
void | setUuid (const QString &uuid) |
|
Type | type () const |
|
QString | uniqueHash () const |
|
QString | uuid () const |
|