Sayonara Player
Public Member Functions | List of all members
Library::CoverViewPixmapCache Class Reference

A cache class. Internally handled as QCache class. More...

#include <CoverViewPixmapCache.h>

Public Member Functions

bool has_pixmap (const Hash &hash) const
 
QPixmap pixmap (const Hash &hash) const
 
QPixmap invalid_pixmap () const
 
void add_pixmap (const Hash &hash, const QPixmap &pm)
 
int cache_size () const
 
bool is_outdated (const Hash &hash) const
 
void set_outdated (const Hash &hash)
 
void set_all_outdated ()
 
void set_cache_size (int cache_size)
 
void clear ()
 

Detailed Description

A cache class. Internally handled as QCache class.