27 #ifndef DIGIKAM_SIMILARITY_DB_H
28 #define DIGIKAM_SIMILARITY_DB_H
32 #include <QStringList>
67 bool setSetting(
const QString& keyword,
const QString&
value);
74 QString getSetting(
const QString& keyword);
81 QString getLegacySetting(
const QString& keyword);
87 QSet<qlonglong> registeredImageIds()
const;
98 bool hasFingerprint(qlonglong imageId,
FuzzyAlgorithm algorithm)
const;
104 bool hasFingerprints();
120 bool hasDirtyOrMissingFingerprint(
const ItemInfo& imageInfo,
142 QStringList getDirtyOrMissingFingerprintURLs(
const QList<ItemInfo>& imageInfos,
152 void removeImageFingerprint(qlonglong imageID,
158 void copySimilarityAttributes(qlonglong srcId,
168 double getImageSimilarity(qlonglong imageID1,
172 void setImageSimilarity(qlonglong imageID1,
182 void removeImageSimilarity(qlonglong imageID,
191 void removeImageSimilarity(qlonglong imageID1,
210 bool integrityCheck();
226 QString getImageSimilarityOrdered(qlonglong imageID1,
237 QPair<qlonglong, qlonglong> orderIds(qlonglong id1, qlonglong id2);
Definition: iteminfo.h:78
Definition: similaritydbaccess.h:45
Definition: similaritydbbackend.h:40
Definition: similaritydb.h:58
qulonglong value
Definition: itemviewutilities.cpp:592
Definition: datefolderview.cpp:43
FuzzyAlgorithm
Definition: similaritydb.h:50