25 #ifndef DIGIKAM_THUMBS_DB_H
26 #define DIGIKAM_THUMBS_DB_H
45 namespace DatabaseThumbnail
87 bool setSetting(
const QString& keyword,
const QString&
value);
88 QString getSetting(
const QString& keyword);
89 QString getLegacySetting(
const QString& keyword);
91 ThumbsDbInfo findByHash(
const QString& uniqueHash, qlonglong fileSize);
101 ThumbsDbInfo findByFilePath(
const QString& path,
const QString& uniqueHash);
130 QHash<QString, int> getFilePathsWithThumbnail();
132 void replaceUniqueHash(
const QString& oldUniqueHash,
int oldFileSize,
const QString& newUniqueHash,
int newFileSize);
140 bool integrityCheck();
Definition: dbenginebackend.h:157
Definition: thumbsdbaccess.h:43
Definition: thumbsdbbackend.h:39
Definition: thumbsdb.h:62
int id
Definition: thumbsdb.h:73
QByteArray data
Definition: thumbsdb.h:77
DatabaseThumbnail::Type type
Definition: thumbsdb.h:74
QDateTime modificationDate
Definition: thumbsdb.h:75
int orientationHint
Definition: thumbsdb.h:76
ThumbsDbInfo()
Definition: thumbsdb.h:66
Definition: thumbsdb.h:83
qulonglong value
Definition: itemviewutilities.cpp:592
Type
Definition: thumbsdb.h:49
@ JPEG
Definition: thumbsdb.h:53
@ PNG
Definition: thumbsdb.h:55
@ PGF
Definition: thumbsdb.h:52
@ UndefinedType
Definition: thumbsdb.h:50
@ JPEG2000
Definition: thumbsdb.h:54
@ NoThumbnail
Definition: thumbsdb.h:51
Definition: datefolderview.cpp:43