25 #ifndef DIGIKAM_HISTORY_IMAGE_ID_H
26 #define DIGIKAM_HISTORY_IMAGE_ID_H
58 Intermediate = 1 << 1,
82 Q_DECLARE_FLAGS(Types,
Type)
99 return (type() == Original);
104 return (type() == Source);
109 return (type() == Intermediate);
114 return (type() == Current);
120 void setUuid(
const QString& uuid);
121 void setFileName(
const QString& fileName);
122 void setCreationDate(
const QDateTime& creationDate);
123 void setPathOnDisk(
const QString& filePath);
124 void setPath(
const QString& path);
125 void setUniqueHash(
const QString& uniqueHash, qlonglong fileSize);
127 bool hasFileOnDisk()
const;
130 QString path()
const;
133 QString filePath()
const;
135 bool hasFileName()
const;
138 QString fileName()
const;
140 bool hasUuid()
const;
141 QString uuid()
const;
142 bool hasCreationDate()
const;
143 QDateTime creationDate()
const;
144 bool hasUniqueHashIdentifier()
const;
145 QString uniqueHash()
const;
146 qlonglong fileSize()
const;
147 QString originalUuid()
const;
186 Q_DECLARE_OPERATORS_FOR_FLAGS(Digikam::HistoryImageId::Types)
Definition: historyimageid.h:42
QString m_filePath
The path of the referred file (NOTE: without file name!, including trailing slash)
Definition: historyimageid.h:167
bool isSourceFile() const
Definition: historyimageid.h:102
Type
Definition: historyimageid.h:46
QString m_uniqueHash
The uniqueHash of the referred file.
Definition: historyimageid.h:170
Type m_type
Type of this History Image Id.
Definition: historyimageid.h:152
QString m_uuid
Definition: historyimageid.h:158
qlonglong m_fileSize
The file size of the referred file.
Definition: historyimageid.h:173
QString m_fileName
The filename of the referred file.
Definition: historyimageid.h:161
bool isCurrentFile() const
Definition: historyimageid.h:112
bool isIntermediateFile() const
Definition: historyimageid.h:107
QDateTime m_creationDate
The creationDate of the original image.
Definition: historyimageid.h:164
bool isOriginalFile() const
Definition: historyimageid.h:97
QString m_originalUUID
Definition: historyimageid.h:180
Definition: datefolderview.cpp:43
bool operator==(const SearchTextSettings &a, const SearchTextSettings &b)
Definition: searchtextbar.cpp:49
Type
Definition: gpsitemcontainer.h:45