qt5base-lts/tests/auto
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
..
bic Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
corelib Allow function types to be registered without workarounds 2012-01-31 16:17:55 +01:00
dbus Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
gui Add support for cleanup functions for data-constructed QImages 2012-01-31 16:21:17 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Remove Symbian specific code from qtbase. 2012-01-31 07:08:31 +01:00
opengl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
other Allow function types to be registered without workarounds 2012-01-31 16:17:55 +01:00
sql Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
testlib Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
tools Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
widgets Remove many deprecated methods 2012-01-31 16:17:55 +01:00
xml Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
auto.pro Re-enable 'make check' for tests/auto/widgets 2012-01-24 19:12:23 +01:00
network-settings.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
platformquirks.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
test.pl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00