Class can be used for efficient access to the QPixmapCache.
More...
The QPixmapCache::Key class can be used for efficient access to the QPixmapCache.
Use QPixmapCache::insert() to receive an instance of Key generated by the pixmap cache. You can store the key in your own objects for a very efficient one-to-one object-to-pixmap mapping.
| QPixmapCache::Key::Key |
( |
| ) |
|
Constructs an empty QPixmapCache::Key object.
| QPixmapCache::Key::Key |
( |
const Key & |
other | ) |
|
Copy constructs a new QPixmapCache::Key from other.
| QPixmapCache::Key::Key |
( |
Key && |
other | ) |
|
|
inline |
Move constructs a new QPixmapCache::Key from other.
| QPixmapCache::Key::~Key |
( |
| ) |
|
Destroys the QPixmapCache::Key.
| bool QPixmapCache::Key::operator!= |
( |
const Key & |
other | ) |
const |
|
inline |
Returns true if other is not equal to this QPixmapCache::Key, otherwise returns false.
| Key & QPixmapCache::Key::operator= |
( |
const Key & |
other | ) |
|
Copy assigns from other and returns a reference to this object.
| Key & QPixmapCache::Key::operator= |
( |
Key && |
other | ) |
|
|
inline |
Move assigns from other and returns a reference to this object.
| bool QPixmapCache::Key::operator== |
( |
const Key & |
other | ) |
const |
Returns true if other is equal to this QPixmapCache::Key, otherwise returns false.
| void QPixmapCache::Key::swap |
( |
Key & |
other | ) |
|
|
inline |
Swaps QPixmapCache::Key other with this QPixmapCache::Key. This operation is very fast and never fails.