7#include <QtGui/qtguiglobal.h>
8#include <QtGui/qpixmap.h>
17 class Q_GUI_EXPORT
Key
31 bool isValid() const noexcept;
35 {
return k.hash(
seed); }
36 size_t hash(
size_t seed)
const noexcept;
43 static int cacheLimit();
44 static void setCacheLimit(
int);
49#if QT_DEPRECATED_SINCE(6, 6)
51 QT_GUI_INLINE_SINCE(6, 6)
60#if QT_DEPRECATED_SINCE(6, 6)
61#if QT_GUI_INLINE_IMPL_SINCE(6, 6)
The QPixmapCache::Key class can be used for efficient access to the QPixmapCache.
void swap(Key &other) noexcept
Key(Key &&other) noexcept
static void remove(const QString &key)
Removes the pixmap associated with key from the cache.
static bool insert(const QString &key, const QPixmap &pixmap)
Inserts a copy of the pixmap pixmap associated with the key into the cache.
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
\macro QT_RESTRICTED_CAST_FROM_ASCII
QHash< int, QWidget * > hash
[35multi]
cache insert(employee->id(), employee)
Combined button and popup list for selecting options.
constexpr bool operator!=(const timespec &t1, const timespec &t2)
size_t qHash(const QFileSystemWatcherPathKey &key, size_t seed=0)
static Q_CONSTINIT QBasicAtomicInteger< unsigned > seed
bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
constexpr void qt_ptr_swap(T *&lhs, T *&rhs) noexcept
#define QT_DEPRECATED_VERSION_X_6_6(text)
settings remove("monkey")