diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-07-27 14:44:27 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-07-28 14:17:45 (GMT) |
commit | f4978a5894212dd655a91dbb0db02a89070bb165 (patch) | |
tree | 2028648f9304274e21a4ee73f7d16cde7855b462 /src/gui/image/image.pri | |
parent | 8e9921c43ae0b896aee091e1031b4f42c332332b (diff) | |
download | Qt-f4978a5894212dd655a91dbb0db02a89070bb165.zip Qt-f4978a5894212dd655a91dbb0db02a89070bb165.tar.gz Qt-f4978a5894212dd655a91dbb0db02a89070bb165.tar.bz2 |
Refactor QImage/QPixmap cleanup hooks into a seperate class
The new class alows more than one hook to be installed at a time and,
for QPixmaps, the hook is told which pixmap is getting deleted.
Reviewed-By: Samuel
Diffstat (limited to 'src/gui/image/image.pri')
-rw-r--r-- | src/gui/image/image.pri | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/image/image.pri b/src/gui/image/image.pri index bf348af..b9c36dc 100644 --- a/src/gui/image/image.pri +++ b/src/gui/image/image.pri @@ -25,7 +25,9 @@ HEADERS += \ image/qpixmapcache_p.h \ image/qpixmapdata_p.h \ image/qpixmapdatafactory_p.h \ - image/qpixmapfilter_p.h + image/qpixmapfilter_p.h \ + image/qimagepixmapcleanuphooks_p.h \ + SOURCES += \ image/qbitmap.cpp \ @@ -47,6 +49,8 @@ SOURCES += \ image/qmovie.cpp \ image/qpixmap_raster.cpp \ image/qnativeimage.cpp \ + image/qimagepixmapcleanuphooks.cpp \ + win32 { SOURCES += image/qpixmap_win.cpp |