KLocalImageCacheImplementation

Search for usage in LXR

KLocalImageCacheImplementation Class Reference

#include <klocalimagecacheimpl.h>

Inheritance diagram for KLocalImageCacheImplementation:

Public Member Functions

QDateTime lastModifiedTime () const
 
int pixmapCacheLimit () const
 
bool pixmapCaching () const
 
void setPixmapCacheLimit (int size)
 
void setPixmapCaching (bool enable)
 

Protected Member Functions

void clearLocalCache ()
 
bool findLocalPixmap (const QString &key, QPixmap *destination) const
 
bool insertLocalPixmap (const QString &key, const QPixmap &pixmap) const
 
QByteArray serializeImage (const QImage &image) const
 
void updateModifiedTime ()
 

Detailed Description

You are not supposed to use this class directly, use KImageCache instead.

Definition at line 27 of file klocalimagecacheimpl.h.

Member Function Documentation

◆ clearLocalCache()

void KLocalImageCacheImplementation::clearLocalCache ( )
protected

Definition at line 109 of file klocalimagecacheimpl.cpp.

◆ findLocalPixmap()

bool KLocalImageCacheImplementation::findLocalPixmap ( const QString & key,
QPixmap * destination ) const
protected

Definition at line 93 of file klocalimagecacheimpl.cpp.

◆ insertLocalPixmap()

bool KLocalImageCacheImplementation::insertLocalPixmap ( const QString & key,
const QPixmap & pixmap ) const
protected

Definition at line 88 of file klocalimagecacheimpl.cpp.

◆ lastModifiedTime()

QDateTime KLocalImageCacheImplementation::lastModifiedTime ( ) const

Definition at line 114 of file klocalimagecacheimpl.cpp.

◆ pixmapCacheLimit()

int KLocalImageCacheImplementation::pixmapCacheLimit ( ) const

Definition at line 134 of file klocalimagecacheimpl.cpp.

◆ pixmapCaching()

bool KLocalImageCacheImplementation::pixmapCaching ( ) const

Definition at line 119 of file klocalimagecacheimpl.cpp.

◆ serializeImage()

QByteArray KLocalImageCacheImplementation::serializeImage ( const QImage & image) const
protected

Definition at line 80 of file klocalimagecacheimpl.cpp.

◆ setPixmapCacheLimit()

void KLocalImageCacheImplementation::setPixmapCacheLimit ( int size)

Definition at line 139 of file klocalimagecacheimpl.cpp.

◆ setPixmapCaching()

void KLocalImageCacheImplementation::setPixmapCaching ( bool enable)

Definition at line 124 of file klocalimagecacheimpl.cpp.

◆ updateModifiedTime()

void KLocalImageCacheImplementation::updateModifiedTime ( )
protected

Definition at line 75 of file klocalimagecacheimpl.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.