qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
#include <pixmapcache.h>
Public Member Functions | |
QPixmap | get (const QString &filename, QSize size) |
Static Public Member Functions | |
static PixmapCache & | getInstance () |
Returns the singleton instance. More... | |
Protected Member Functions | |
PixmapCache () | |
PixmapCache (PixmapCache &)=delete | |
PixmapCache & | operator= (const PixmapCache &)=delete |
Private Attributes | |
QHash< QString, QIcon > | cache |
Definition at line 26 of file pixmapcache.h.
|
inlineprotected |
Definition at line 33 of file pixmapcache.h.
|
protecteddelete |
QPixmap PixmapCache::get | ( | const QString & | filename, |
QSize | size | ||
) |
|
static |
Returns the singleton instance.
Definition at line 40 of file pixmapcache.cpp.
|
protecteddelete |
|
private |
Definition at line 40 of file pixmapcache.h.