qt5base-lts/tests/auto/gui/image
Simon Hausmann 298330bd43 Add support for cleanup functions for data-constructed QImages
A QImage can be constructed with a provided buffer, that has to be
kept alive for the live-time of the QImage and all its copies.
Frameworks like CoreGraphics or Cairo offer a similar method of
creating image objects and also offer the ability to provide a callback
function that is called when the image is destroyed.

This patch adds this functionality to QImage by extending the
QImage constructors that take a raw image buffer pointer.

Change-Id: Ia6342408c560ef49b498c9e4664b4602febb0fcd
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Reviewed-by: Michalina Ziemba <michalina.ziemba@nokia.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
2012-01-31 16:21:17 +01:00
..
qicoimageformat Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qicon Remove QIconEngineV2 and fold it into QIconEngine 2012-01-31 04:56:14 +01:00
qimage Add support for cleanup functions for data-constructed QImages 2012-01-31 16:21:17 +01:00
qimageiohandler Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qimagereader Moving tiff image format support and libtiff out of qtbase 2012-01-31 14:31:04 +01:00
qimagewriter Moving tiff image format support and libtiff out of qtbase 2012-01-31 14:31:04 +01:00
qmovie Fixed qmovie unittest to use QFINDTESTDATA in jumpToFrame() 2012-01-31 04:23:26 +01:00
qpicture Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qpixmap Windows: Fix autotests with -qtnamespace 2012-01-31 04:56:06 +01:00
qpixmapcache Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qpixmapfilter Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qvolatileimage Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
image.pro Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00