|
static void | cleanCache () |
| remove all images from the cache (e.g.
|
|
static void | cleanThumbnailCache () |
| Remove all thumbnails from the thumbnail cache.
|
|
static void | cleanUp () |
| clean up cache at shutdown
|
|
static void | connectToSignalFileChanged (QObject *const object, const char *slot) |
| 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.
|
|
static void | fileChanged (const QString &filePath, bool notify=true) |
| Remove an image from the cache because it may have changed on disk.
|
|
static void | initialize () |
|
static void | putImage (const QString &filePath, const DImg &img) |
| add a copy of the image to cache
|
|
static void | setCacheOptions (int cacheSize) |
| Set cache size in Megabytes.
|
|