digiKam
Loading...
Searching...
No Matches
Digikam::ScanControllerLoadingCacheFileWatch Class Reference

#include <scancontroller_p.h>

+ Inheritance diagram for Digikam::ScanControllerLoadingCacheFileWatch:

Public Member Functions

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

Protected Member Functions

void notifyFileChanged (const QString &filePath)
 

Protected Attributes

class LoadingCachem_cache = nullptr
 
QHash< QString, QPair< qint64, QDateTime > > m_watchHash
 

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().

◆ removeImage()

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

Member Data Documentation

◆ m_cache

◆ m_watchHash

QHash<QString, QPair<qint64, QDateTime> > Digikam::LoadingCacheFileWatch::m_watchHash
protectedinherited

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