KGuiAddons
7#ifndef KLOCALIMAGECACHEIMPL_H
8#define KLOCALIMAGECACHEIMPL_H
10#include <kguiaddons_export.h>
14class KLocalImageCacheImplementationPrivate;
27class KGUIADDONS_EXPORT KLocalImageCacheImplementation
30 explicit KLocalImageCacheImplementation(
unsigned defaultCacheSize);
33 virtual ~KLocalImageCacheImplementation();
37 bool pixmapCaching()
const;
38 void setPixmapCaching(
bool enable);
40 int pixmapCacheLimit()
const;
41 void setPixmapCacheLimit(
int size);
44 void updateModifiedTime();
47 bool insertLocalPixmap(
const QString &key,
const QPixmap &pixmap)
const;
48 bool findLocalPixmap(
const QString &key,
QPixmap *destination)
const;
49 void clearLocalCache();
52 std::unique_ptr<KLocalImageCacheImplementationPrivate>
const d;
55 friend class KSharedPixmapCacheMixin;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:27 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.