src/gui/image/qpixmapcache.h
changeset 30 5dc02b23752f
parent 18 2f34d5167611
--- a/src/gui/image/qpixmapcache.h	Wed Jun 23 19:07:03 2010 +0300
+++ b/src/gui/image/qpixmapcache.h	Tue Jul 06 15:10:48 2010 +0300
@@ -44,6 +44,10 @@
 
 #include <QtGui/qpixmap.h>
 
+#ifdef Q_TEST_QPIXMAPCACHE
+#include <QtCore/qpair.h>
+#endif
+
 QT_BEGIN_HEADER
 
 QT_BEGIN_NAMESPACE
@@ -83,6 +87,12 @@
     static void remove(const QString &key);
     static void remove(const Key &key);
     static void clear();
+
+#ifdef Q_TEST_QPIXMAPCACHE
+    static void flushDetachedPixmaps();
+    static int totalUsed();
+    static QList< QPair<QString,QPixmap> > allPixmaps();
+#endif
 };
 
 QT_END_NAMESPACE