Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qpixmapcache.cpp File Reference

(ca8674ef2cdbacfa7a3034138cb65f45b56c33f1)

#include "qpixmapcache.h"
#include "qbasictimer.h"
#include "qobject.h"
#include "qdebug.h"
#include "qpixmapcache_p.h"
#include "qthread.h"
#include "qcoreapplication.h"
#include "qpixmapcache.moc"
Include dependency graph for qpixmapcache.cpp:

Go to the source code of this file.

Classes

class  QPMCache

Functions

static qsizetype cost (const QPixmap &pixmap)
static bool qt_pixmapcache_thread_test ()
int Q_AUTOTEST_EXPORT q_QPixmapCache_keyHashSize ()
Q_AUTOTEST_EXPORT void qt_qpixmapcache_flush_detached_pixmaps ()
Q_AUTOTEST_EXPORT int qt_qpixmapcache_qpixmapcache_total_used ()

Variables

static const int cache_limit_default = 10240

Function Documentation

◆ cost()

qsizetype cost ( const QPixmap & pixmap)
inlinestatic

Definition at line 62 of file qpixmapcache.cpp.

◆ q_QPixmapCache_keyHashSize()

int Q_AUTOTEST_EXPORT q_QPixmapCache_keyHashSize ( )

Definition at line 403 of file qpixmapcache.cpp.

◆ qt_pixmapcache_thread_test()

bool qt_pixmapcache_thread_test ( )
inlinestatic

Definition at line 72 of file qpixmapcache.cpp.

Referenced by QPixmapCache::cacheLimit(), QPixmapCache::find(), QPixmapCache::find(), QPixmapCache::insert(), qt_qpixmapcache_flush_detached_pixmaps(), qt_qpixmapcache_qpixmapcache_total_used(), QPixmapCache::remove(), QPixmapCache::remove(), and QPixmapCache::setCacheLimit().

Here is the caller graph for this function:

◆ qt_qpixmapcache_flush_detached_pixmaps()

Q_AUTOTEST_EXPORT void qt_qpixmapcache_flush_detached_pixmaps ( )

Definition at line 588 of file qpixmapcache.cpp.

References qt_pixmapcache_thread_test().

Here is the call graph for this function:

◆ qt_qpixmapcache_qpixmapcache_total_used()

Q_AUTOTEST_EXPORT int qt_qpixmapcache_qpixmapcache_total_used ( )

Definition at line 595 of file qpixmapcache.cpp.

References qt_pixmapcache_thread_test().

Here is the call graph for this function:

Variable Documentation

◆ cache_limit_default

const int cache_limit_default = 10240
static

Definition at line 60 of file qpixmapcache.cpp.