summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qimagepixmapcleanuphooks_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/image/qimagepixmapcleanuphooks_p.h')
-rw-r--r--src/gui/image/qimagepixmapcleanuphooks_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/image/qimagepixmapcleanuphooks_p.h b/src/gui/image/qimagepixmapcleanuphooks_p.h
index 16c8974..9e490d7 100644
--- a/src/gui/image/qimagepixmapcleanuphooks_p.h
+++ b/src/gui/image/qimagepixmapcleanuphooks_p.h
@@ -70,6 +70,10 @@ public:
static QImagePixmapCleanupHooks *instance();
+ static void enableCleanupHooks(const QImage &image);
+ static void enableCleanupHooks(const QPixmap &pixmap);
+ static void enableCleanupHooks(QPixmapData *pixmapData);
+
// Gets called when a pixmap is about to be modified:
void addPixmapModificationHook(_qt_pixmap_cleanup_hook_pm);