diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-10-29 14:28:36 +0100 |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-10-29 15:18:30 +0100 |
commit | 4531ffbd8aa2cc0ae656715e449caca1649c18b9 (patch) | |
tree | 31432fbebde717f08469d77ee88b3de8f97914df /src/gui/image/qpixmapdata_p.h | |
parent | 7881773800c05c09f0e85a80c1cbb678981bd6c0 (diff) |
Added QImagePixmapCleanupHooks functions for enabling hooks.
Better than having to befriend QPixmapData and setting is_cached
manually.
Reviewed-by: Tom Cooksey
Diffstat (limited to 'src/gui/image/qpixmapdata_p.h')
-rw-r--r-- | src/gui/image/qpixmapdata_p.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/image/qpixmapdata_p.h b/src/gui/image/qpixmapdata_p.h index 2f4f201009..e99409c110 100644 --- a/src/gui/image/qpixmapdata_p.h +++ b/src/gui/image/qpixmapdata_p.h @@ -131,12 +131,11 @@ protected: private: friend class QPixmap; - friend class QGLContextPrivate; friend class QX11PixmapData; friend class QS60PixmapData; + friend class QImagePixmapCleanupHooks; // Needs to set is_cached friend class QGLTextureCache; //Needs to check the reference count friend class QExplicitlySharedDataPointer<QPixmapData>; - friend bool qt_createEGLSurfaceForPixmap(QPixmapData*, bool); // Needs to set is_cached QAtomicInt ref; int detach_no; |