KDEUI
Go to the documentation of this file.
21 #ifndef KPIXMAPCACHE_H
22 #define KPIXMAPCACHE_H
26 #include <QtCore/QList>
27 #include <QtCore/QSet>
28 #include <QtCore/QSize>
101 virtual bool find(
const QString& key, QPixmap& pix);
128 QPixmap loadFromFile(
const QString& filename);
151 unsigned int timestamp()
const;
158 void setTimestamp(
unsigned int time);
174 void setUseQPixmapCache(
bool use);
186 bool useQPixmapCache()
const;
197 int cacheLimit()
const;
210 void setCacheLimit(
int kbytes);
221 RemoveLeastRecentlyUsed
227 RemoveStrategy removeEntryStrategy()
const;
232 void setRemoveEntryStrategy(RemoveStrategy strategy);
240 bool isEnabled()
const;
247 bool isValid()
const;
255 static void deleteCache(
const QString& name);
279 void removeEntries(
int newsize = 0);
293 void ensureInited()
const;
308 virtual bool loadCustomData(QDataStream& stream);
320 virtual bool writeCustomData(QDataStream& stream);
335 virtual bool loadCustomIndexHeader(QDataStream& stream);
347 virtual void writeCustomIndexHeader(QDataStream& stream);
361 void setValid(
bool valid);
375 bool recreateCacheFiles();
380 friend class Private;
384 #endif // KPIXMAPCACHE_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 23 2013 20:34:00 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.