digiKam
|
Public Member Functions | |
void | clear () override |
bool | hasAlbumHints () |
bool | hasAnyNormalHint (qlonglong id) |
bool | hasMetadataAboutToAdjustHint (qlonglong id) |
bool | hasMetadataAdjustedHint (qlonglong id) |
bool | hasModificationHint (qlonglong id) |
bool | hasRescanHint (qlonglong id) |
void | recordHint (const ItemMetadataAdjustmentHint &hint) override |
void | recordHints (const QList< AlbumCopyMoveHint > &hints) override |
void | recordHints (const QList< ItemChangeHint > &hints) override |
void | recordHints (const QList< ItemCopyMoveHint > &hints) override |
Public Attributes | |
QHash< CollectionScannerHints::DstPath, CollectionScannerHints::Album > | albumHints |
QHash< NewlyAppearedFile, qlonglong > | itemHints |
QReadWriteLock | lock |
QHash< qlonglong, QDateTime > | metadataAboutToAdjustHints |
QHash< qlonglong, QDateTime > | metadataAdjustedHints |
QSet< qlonglong > | modifiedItemHints |
QSet< qlonglong > | rescanItemHints |
|
overridevirtual |
Implements Digikam::CollectionScannerHintContainer.
References albumHints, itemHints, lock, metadataAboutToAdjustHints, metadataAdjustedHints, modifiedItemHints, and rescanItemHints.
bool Digikam::CollectionScannerHintContainerImplementation::hasAlbumHints | ( | ) |
References albumHints, and lock.
Referenced by Digikam::CollectionScanner::completeScan(), and Digikam::CollectionScanner::partialScan().
bool Digikam::CollectionScannerHintContainerImplementation::hasAnyNormalHint | ( | qlonglong | id | ) |
References lock, metadataAboutToAdjustHints, metadataAdjustedHints, modifiedItemHints, and rescanItemHints.
Referenced by Digikam::CollectionScanner::scanFileNormal().
bool Digikam::CollectionScannerHintContainerImplementation::hasMetadataAboutToAdjustHint | ( | qlonglong | id | ) |
References lock, and metadataAboutToAdjustHints.
Referenced by Digikam::CollectionScanner::scanFileNormal().
bool Digikam::CollectionScannerHintContainerImplementation::hasMetadataAdjustedHint | ( | qlonglong | id | ) |
References lock, and metadataAdjustedHints.
bool Digikam::CollectionScannerHintContainerImplementation::hasModificationHint | ( | qlonglong | id | ) |
References lock, and modifiedItemHints.
Referenced by Digikam::CollectionScanner::scanFileNormal().
bool Digikam::CollectionScannerHintContainerImplementation::hasRescanHint | ( | qlonglong | id | ) |
References lock, and rescanItemHints.
Referenced by Digikam::CollectionScanner::scanFileNormal().
|
overridevirtual |
Implements Digikam::CollectionScannerHintContainer.
References Digikam::ItemMetadataAdjustmentHint::fileSize(), Digikam::ItemInfo::fileSize(), Digikam::ItemMetadataAdjustmentHint::id(), Digikam::ItemMetadataAdjustmentHint::isAboutToEdit(), Digikam::ItemMetadataAdjustmentHint::isEditingFinished(), lock, metadataAboutToAdjustHints, metadataAdjustedHints, Digikam::ItemInfo::modDateTime(), Digikam::ItemMetadataAdjustmentHint::modificationDate(), and Digikam::s_modificationDateEquals().
|
overridevirtual |
Implements Digikam::CollectionScannerHintContainer.
References albumHints, and lock.
|
overridevirtual |
Implements Digikam::CollectionScannerHintContainer.
References Digikam::ItemChangeHint::ids(), Digikam::ItemChangeHint::isModified(), lock, modifiedItemHints, and rescanItemHints.
|
overridevirtual |
QHash<CollectionScannerHints::DstPath, CollectionScannerHints::Album> Digikam::CollectionScannerHintContainerImplementation::albumHints |
QHash<NewlyAppearedFile, qlonglong> Digikam::CollectionScannerHintContainerImplementation::itemHints |
Referenced by clear(), recordHints(), and Digikam::CollectionScanner::scanNewFile().
QReadWriteLock Digikam::CollectionScannerHintContainerImplementation::lock |
Referenced by Digikam::CollectionScanner::checkAlbum(), clear(), hasAlbumHints(), hasAnyNormalHint(), hasMetadataAboutToAdjustHint(), hasMetadataAdjustedHint(), hasModificationHint(), hasRescanHint(), Digikam::CollectionScanner::partialScan(), recordHint(), recordHints(), Digikam::CollectionScanner::scanFileNormal(), Digikam::CollectionScanner::scanForStaleAlbums(), and Digikam::CollectionScanner::scanNewFile().
QHash<qlonglong, QDateTime> Digikam::CollectionScannerHintContainerImplementation::metadataAboutToAdjustHints |
Referenced by clear(), hasAnyNormalHint(), hasMetadataAboutToAdjustHint(), and recordHint().
QHash<qlonglong, QDateTime> Digikam::CollectionScannerHintContainerImplementation::metadataAdjustedHints |
Referenced by clear(), hasAnyNormalHint(), hasMetadataAdjustedHint(), recordHint(), and Digikam::CollectionScanner::scanFileNormal().
QSet<qlonglong> Digikam::CollectionScannerHintContainerImplementation::modifiedItemHints |
Referenced by clear(), hasAnyNormalHint(), hasModificationHint(), recordHints(), and Digikam::CollectionScanner::scanFileNormal().
QSet<qlonglong> Digikam::CollectionScannerHintContainerImplementation::rescanItemHints |
Referenced by clear(), hasAnyNormalHint(), hasRescanHint(), recordHints(), and Digikam::CollectionScanner::scanFileNormal().