digiKam
Digikam::ScanControllerLoadingCacheFileWatch Class Reference
+ Inheritance diagram for Digikam::ScanControllerLoadingCacheFileWatch:

Public Member Functions

void addedImage (const QString &filePath)
 
void checkFileWatch (const QString &filePath)
 
 ScanControllerLoadingCacheFileWatch ()
 

Protected Member Functions

void notifyFileChanged (const QString &filePath)
 

Protected Attributes

class LoadingCachem_cache
 
QMap< QString, QPair< qint64, QDateTime > > m_watchMap
 

Constructor & Destructor Documentation

◆ ScanControllerLoadingCacheFileWatch()

Digikam::ScanControllerLoadingCacheFileWatch::ScanControllerLoadingCacheFileWatch ( )

Member Function Documentation

◆ addedImage()

void Digikam::LoadingCacheFileWatch::addedImage ( const QString &  filePath)
inherited

◆ checkFileWatch()

void Digikam::LoadingCacheFileWatch::checkFileWatch ( const QString &  filePath)
inherited

◆ notifyFileChanged()

void Digikam::LoadingCacheFileWatch::notifyFileChanged ( const QString &  filePath)
protectedinherited

Convenience method. Call this to tell the cache to remove stored images for filePath from the cache. Calling this method is fast, you do not need to check if the file is contained in the cache. Do not hold the CacheLock when calling this method.

References Digikam::LoadingCacheFileWatch::m_cache, and Digikam::LoadingCache::notifyFileChanged().

Member Data Documentation

◆ m_cache

◆ m_watchMap

QMap<QString, QPair<qint64, QDateTime> > Digikam::LoadingCacheFileWatch::m_watchMap
protectedinherited

The documentation for this class was generated from the following files: