KDEUI
kimagecache.cpp
Go to the documentation of this file.
bool findImage(const QString &key, QImage *destination) const
Copies the cached image identified by key to destination.
Definition: kimagecache.cpp:122
bool findPixmap(const QString &key, QPixmap *destination) const
Copies the cached pixmap identified by key to destination.
Definition: kimagecache.cpp:136
KImageCache(const QString &cacheName, unsigned defaultCacheSize, unsigned expectedItemSize=0)
Constructs an image cache, named by cacheName, with a default size of defaultCacheSize.
Definition: kimagecache.cpp:82
void setPixmapCacheLimit(int size)
Sets the highest memory size the pixmap cache should use.
Definition: kimagecache.cpp:195
void setPixmapCaching(bool enable)
Enables or disables local pixmap caching.
Definition: kimagecache.cpp:180
bool insertPixmap(const QString &key, const QPixmap &pixmap)
Inserts the pixmap given by pixmap to the cache, accessible with key.
Definition: kimagecache.cpp:111
bool insertImage(const QString &key, const QImage &image)
Inserts the image into the shared cache, accessible with key.
Definition: kimagecache.cpp:97
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.