Key Class

(QPixmapCache::Key)

The QPixmapCache::Key class can be used for efficient access to the QPixmapCache. More...

Header: #include <Key>
qmake: QT += gui
Since: Qt 4.6

Public Functions

Key()
~Key()

Detailed Description

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.

Member Function Documentation

Key::Key()

Constructs an empty Key object.

Key::~Key()

Destroys the key.

© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.