digiKam
|
Static Public Member Functions | |
static void | cleanCache () |
static void | cleanThumbnailCache () |
static void | cleanUp () |
static void | connectToSignalFileChanged (QObject *const object, const char *slot) |
static void | fileChanged (const QString &filePath, bool notify=true) |
static void | initialize () |
static void | putImage (const QString &filePath, const DImg &img) |
static void | setCacheOptions (int cacheSize) |
|
static |
remove all images from the cache (e.g. when loading settings changed) Does not affect thumbnails.
References Digikam::LoadingCache::cache(), and Digikam::LoadingCache::removeImages().
|
static |
Remove all thumbnails from the thumbnail cache. Does not affect main image cache.
References Digikam::LoadingCache::cache(), and Digikam::LoadingCache::removeThumbnails().
Referenced by Digikam::ItemIconView::slotRefresh().
|
static |
clean up cache at shutdown
References Digikam::LoadingCache::cleanUp().
Referenced by Digikam::DigikamApp::~DigikamApp(), and ShowFoto::Showfoto::~Showfoto().
|
static |
Connect the given object/slot to the signal void fileChanged(const QString& filePath); which is emitted when the cache gains knowledge about a possible change of this file on disk.
References Digikam::LoadingCache::cache(), and fileChanged().
Referenced by Digikam::ImportCategorizedView::ImportCategorizedView(), Digikam::ItemCategorizedView::ItemCategorizedView(), and Digikam::QueuePool::QueuePool().
|
static |
Remove an image from the cache because it may have changed on disk
References Digikam::LoadingCache::cache(), and Digikam::LoadingCache::notifyFileChanged().
Referenced by connectToSignalFileChanged(), Digikam::EditorWindow::moveFile(), Digikam::EditorWindow::movingSaveFileFinished(), Digikam::ItemViewUtilities::notifyFileContentChanged(), and Digikam::FileActionMngr::Private::slotImageDataChanged().
|
static |
References Digikam::LoadingCache::cache().
Referenced by Digikam::DigikamApp::DigikamApp(), and ShowFoto::Showfoto::Showfoto().
|
static |
add a copy of the image to cache
References Digikam::LoadingCache::cache(), Digikam::LoadingCache::isCacheable(), and Digikam::LoadingCache::putImage().
|
static |
Set cache size in Megabytes. Set to 0 to disable caching.
References Digikam::LoadingCache::cache(), and Digikam::LoadingCache::setCacheSize().