26 #ifndef DIGIKAM_COLLECTION_SCANNER_P_H
27 #define DIGIKAM_COLLECTION_SCANNER_P_H
33 #include <sys/types.h>
43 #include <QDirIterator>
44 #include <QWriteLocker>
45 #include <QReadWriteLock>
46 #include <QReadLocker>
47 #include <QStringList>
49 #include <QElapsedTimer>
50 #include <QScopedPointer>
114 void clear()
override;
116 bool hasAnyNormalHint(qlonglong
id);
117 bool hasAlbumHints();
118 bool hasModificationHint(qlonglong
id);
119 bool hasRescanHint(qlonglong
id);
120 bool hasMetadataAboutToAdjustHint(qlonglong
id);
121 bool hasMetadataAdjustedHint(qlonglong
id);
127 QHash<CollectionScannerHints::DstPath, CollectionScannerHints::Album>
albumHints;
146 void resetRemovedItemsTime();
149 bool checkObserver();
150 bool checkDeferred(
const QFileInfo& info);
uint qHash(const QList< Digikam::Album * > &key)
Definition: albumhistory.cpp:44
Definition: collectionscanner_p.h:106
QSet< qlonglong > modifiedItemHints
Definition: collectionscanner_p.h:129
QHash< CollectionScannerHints::DstPath, CollectionScannerHints::Album > albumHints
Definition: collectionscanner_p.h:127
QReadWriteLock lock
Definition: collectionscanner_p.h:125
QHash< NewlyAppearedFile, qlonglong > itemHints
Definition: collectionscanner_p.h:128
QHash< qlonglong, QDateTime > metadataAboutToAdjustHints
Definition: collectionscanner_p.h:131
QHash< qlonglong, QDateTime > metadataAdjustedHints
Definition: collectionscanner_p.h:132
QSet< qlonglong > rescanItemHints
Definition: collectionscanner_p.h:130
Definition: collectionscannerhints.h:56
Definition: collectionscannerobserver.h:41
Definition: collectionscanner_p.h:138
QSet< QString > ignoreDirectory
Definition: collectionscanner_p.h:160
QSet< QString > videoFilterSet
Definition: collectionscanner_p.h:158
QHash< int, int > establishedSourceAlbums
Definition: collectionscanner_p.h:170
QList< qlonglong > newIdsList
Definition: collectionscanner_p.h:181
bool recordHistoryIds
Definition: collectionscanner_p.h:173
QList< int > scannedAlbums
Definition: collectionscanner_p.h:162
QSet< qlonglong > needResolveHistorySet
Definition: collectionscanner_p.h:174
QSet< QString > deferredAlbumPaths
Definition: collectionscanner_p.h:178
QSet< QString > imageFilterSet
Definition: collectionscanner_p.h:157
CollectionScannerObserver * observer
Definition: collectionscanner_p.h:183
bool deferredFileScanning
Definition: collectionscanner_p.h:177
QSet< QString > nameFilters
Definition: collectionscanner_p.h:156
bool performFastScan
Definition: collectionscanner_p.h:165
QSet< QString > audioFilterSet
Definition: collectionscanner_p.h:159
QDateTime removedItemsTime
Definition: collectionscanner_p.h:167
QSet< qlonglong > needTaggingHistorySet
Definition: collectionscanner_p.h:175
bool needTotalFiles
Definition: collectionscanner_p.h:164
bool updatingHashHint
Definition: collectionscanner_p.h:171
QHash< QString, QDateTime > albumDateCache
Definition: collectionscanner_p.h:180
bool wantSignals
Definition: collectionscanner_p.h:163
CollectionScannerHintContainerImplementation * hints
Definition: collectionscanner_p.h:169
Definition: collectionscanner.h:50
Definition: itemscanner.h:44
Definition: collectionscanner_p.h:81
int albumId
Definition: collectionscanner_p.h:92
QString fileName
Definition: collectionscanner_p.h:93
Definition: piwigotalker.h:48
Definition: datefolderview.cpp:43
bool operator==(const SearchTextSettings &a, const SearchTextSettings &b)
Definition: searchtextbar.cpp:49
bool s_modificationDateEquals(const QDateTime &a, const QDateTime &b)
Definition: collectionscanner_p.cpp:31
uint qHash(const PAlbumPath &id)
Definition: albummanager_p.h:141