The QPixmapCache::Key class can be used for efficient access to the QPixmapCache. More...
(since 6.6) size_t |
qHash(const QPixmapCache::Key &key, size_t seed = 0) |
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.
Constructs an empty Key object.
[noexcept] Key::~Key()Destroys the key.
[noexcept] bool Key::isValid() constReturns true if there is a cached pixmap associated with this key. Otherwise, if pixmap was flushed, the key is no longer valid.
[noexcept] void Key::swap(QPixmapCache::Key &other)Swaps this key with other. This operation is very fast and never fails.
[noexcept, since 6.6] size_t qHash(const QPixmapCache::Key &key, size_t seed = 0)Returns the hash value for key, using seed to seed the calculation.
This function was introduced in Qt 6.6.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: