KDEUI
kiconcache.cpp
Go to the documentation of this file.
virtual bool loadCustomData(QDataStream &stream)
Can be used by subclasses to load custom data from the stream.
Definition: kiconcache.cpp:302
virtual void insert(const QString &key, const QPixmap &pix)
Inserts the pixmap pix into the cache, associated with the key key.
Definition: kpixmapcache.cpp:1366
bool find(const QString &key, QPixmap &pix, QString *path)
Definition: kiconcache.cpp:270
KStandardDirs * dirs()
virtual void writeCustomIndexHeader(QDataStream &stream)
Can be used by subclasses to write custom data into cache's header.
Definition: kiconcache.cpp:167
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
static bool exists(const QString &fullPath)
virtual bool loadCustomIndexHeader(QDataStream &stream)
Can be used by subclasses to load custom data from cache's header.
Definition: kiconcache.cpp:121
bool recreateCacheFiles()
This function causes the cache files to be recreate by invalidating the cache.
Definition: kpixmapcache.cpp:1156
Definition: kstandardguiitem.h:50
virtual bool find(const QString &key, QPixmap &pix)
Tries to load pixmap with the specified key from cache.
Definition: kpixmapcache.cpp:1272
void setUseQPixmapCache(bool use)
Sets whether QPixmapCache (memory caching) should be used in addition to disk cache.
Definition: kpixmapcache.cpp:1112
int defaultIconSize(KIconLoader::Group group) const
The default size of current theme for a certain icon group.
Definition: kiconcache.cpp:229
static void deleteCache(const QString &name)
Deletes a pixmap cache.
Definition: kpixmapcache.cpp:1217
void insert(const QString &key, const QPixmap &pix, const QString &path)
Definition: kiconcache.cpp:283
QStringList resourceDirs(const char *type) const
virtual bool writeCustomData(QDataStream &stream)
Can be used by subclasses to write custom data into the stream.
Definition: kiconcache.cpp:313
static QString locateLocal(const char *type, const QString &filename, const KComponentData &cData=KGlobal::mainComponent())
unsigned int version()
unsigned int mostRecentMTime(const QSet< QString > &dirNames) const
Definition: kiconcache.cpp:216
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void setCacheLimit(int kbytes)
Sets the maximum size of the cache (in kilobytes).
Definition: kpixmapcache.cpp:1127
void setThemeInfo(const QList< KIconTheme * > &themes)
Definition: kiconcache.cpp:239
QSet< QString > existingIconThemeDirs(const QStringList &themeNames) const
Definition: kiconcache.cpp:189
Definition: kicontheme.h:46
QString internalName() const
The internal name of the icon theme (same as the name argument passed to the constructor).
Definition: kicontheme.cpp:276
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.