ImageCache Class Reference

#include <imagecache.h>

List of all members.


Detailed Description

Definition at line 6 of file imagecache.h.


Public Member Functions

const QPixmap * load (const QString &image_file)
const QPixmap * load (const QString &image_file, int width, int height, QImage::ScaleMode scale)
const QPixmap * load (const QString &image_file, QPixmap *pre_loaded)
bool hitTest (const QString &image_file) const
void resize (unsigned int new_size)
unsigned int size ()
void clear ()

Static Public Member Functions

static ImageCachegetImageCache ()

Private Member Functions

 ImageCache ()
 ~ImageCache ()

Private Attributes

ImageCacheImpm_imp

Constructor & Destructor Documentation

ImageCache::ImageCache (  )  [private]

Definition at line 265 of file imagecache.cpp.

ImageCache::~ImageCache (  )  [private]

Definition at line 271 of file imagecache.cpp.


Member Function Documentation

ImageCache & ImageCache::getImageCache (  )  [static]

const QPixmap * ImageCache::load ( const QString &  image_file  ) 

const QPixmap * ImageCache::load ( const QString &  image_file,
int  width,
int  height,
QImage::ScaleMode  scale 
)

Definition at line 234 of file imagecache.cpp.

const QPixmap * ImageCache::load ( const QString &  image_file,
QPixmap *  pre_loaded 
)

Definition at line 240 of file imagecache.cpp.

bool ImageCache::hitTest ( const QString &  image_file  )  const

Definition at line 245 of file imagecache.cpp.

Referenced by VideoGallery::drawIcon().

void ImageCache::resize ( unsigned int  new_size  ) 

Definition at line 250 of file imagecache.cpp.

unsigned int ImageCache::size (  ) 

Definition at line 255 of file imagecache.cpp.

void ImageCache::clear ( void   ) 

Definition at line 260 of file imagecache.cpp.


Member Data Documentation

Definition at line 26 of file imagecache.h.

Referenced by clear(), hitTest(), ImageCache(), load(), resize(), size(), and ~ImageCache().


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

Generated on Sat Dec 18 05:16:04 2010 for MythTV by  doxygen 1.5.5