digiKam
Digikam::CachedPixmaps Class Reference

Public Member Functions

 CachedPixmaps (int maxCount=2)
 
void clear ()
 
bool find (const QRect &region, QPixmap *const pix, QRect *const source)
 
void insert (const QRect &region, const QPixmap &pixmap)
 
void setMaxCount (int)
 
 ~CachedPixmaps ()
 

Protected Attributes

QQueue< CachedPixmapKeykeys
 
int maxCount
 

Constructor & Destructor Documentation

◆ CachedPixmaps()

Digikam::CachedPixmaps::CachedPixmaps ( int  maxCount = 2)
explicit

◆ ~CachedPixmaps()

Digikam::CachedPixmaps::~CachedPixmaps ( )

References clear().

Member Function Documentation

◆ clear()

void Digikam::CachedPixmaps::clear ( )

References Digikam::CachedPixmapKey::key, and keys.

Referenced by ~CachedPixmaps().

◆ find()

bool Digikam::CachedPixmaps::find ( const QRect &  region,
QPixmap *const  pix,
QRect *const  source 
)

References keys.

◆ insert()

void Digikam::CachedPixmaps::insert ( const QRect &  region,
const QPixmap &  pixmap 
)

◆ setMaxCount()

void Digikam::CachedPixmaps::setMaxCount ( int  count)

References maxCount.

Member Data Documentation

◆ keys

QQueue<CachedPixmapKey> Digikam::CachedPixmaps::keys
protected

Referenced by clear(), find(), and insert().

◆ maxCount

int Digikam::CachedPixmaps::maxCount
protected

Referenced by insert(), and setMaxCount().


The documentation for this class was generated from the following files: