43 #include "private/qpixmapdata_p.h" 44 #include "private/qimage_p.h" 62 return qt_image_and_pixmap_cleanup_hooks();
128 for (
int i = 0; i < qt_image_and_pixmap_cleanup_hooks()->imageHooks.count(); ++i)
129 qt_image_and_pixmap_cleanup_hooks()->imageHooks[i](
key);
#define QT_END_NAMESPACE
This macro expands to.
void addPixmapDataModificationHook(_qt_pixmap_cleanup_hook_pmd)
QList< _qt_pixmap_cleanup_hook_pmd > pixmapModificationHooks
Q_GUI_EXPORT _qt_image_cleanup_hook qt_image_cleanup_hook
static void enableCleanupHooks(const QImage &image)
int count(const T &t) const
Returns the number of occurrences of value in the list.
Q_GUI_EXPORT _qt_pixmap_cleanup_hook_64 qt_pixmap_cleanup_hook_64
static void executePixmapDataDestructionHooks(QPixmapData *)
void removePixmapDataModificationHook(_qt_pixmap_cleanup_hook_pmd)
void append(const T &t)
Inserts value at the end of the list.
static void executeImageHooks(qint64 key)
void(* _qt_image_cleanup_hook_64)(qint64)
#define QT_BEGIN_NAMESPACE
This macro expands to.
void addPixmapDataDestructionHook(_qt_pixmap_cleanup_hook_pmd)
#define Q_GLOBAL_STATIC(TYPE, NAME)
Declares a global static variable with the given type and name.
void(* _qt_pixmap_cleanup_hook)(int)
The QImage class provides a hardware-independent image representation that allows direct access to th...
static const char * data(const QByteArray &arr)
void(* _qt_image_cleanup_hook)(int)
void(* _qt_pixmap_cleanup_hook_64)(qint64)
void removePixmapDataDestructionHook(_qt_pixmap_cleanup_hook_pmd)
QList< _qt_image_cleanup_hook_64 > imageHooks
static void executePixmapDataModificationHooks(QPixmapData *)
static bool isPixmapCached(const QPixmap &pixmap)
void * data_ptr(const QTransform &t)
void removeImageHook(_qt_image_cleanup_hook_64)
Q_GUI_EXPORT _qt_image_cleanup_hook_64 qt_image_cleanup_hook_64
QList< _qt_pixmap_cleanup_hook_pmd > pixmapDestructionHooks
The QPixmap class is an off-screen image representation that can be used as a paint device...
void(* _qt_pixmap_cleanup_hook_pmd)(QPixmapData *)
static bool isImageCached(const QImage &image)
Q_GUI_EXPORT _qt_pixmap_cleanup_hook qt_pixmap_cleanup_hook
int removeAll(const T &t)
Removes all occurrences of value in the list and returns the number of entries removed.
void addImageHook(_qt_image_cleanup_hook_64)