qt5base-lts/tests/auto/gui
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
..
image Add support for cleanup functions for data-constructed QImages 2012-01-31 16:21:17 +01:00
kernel Fix QGuiApplication::topLevelWindows(), introducing allWindows() 2012-01-31 07:05:09 +01:00
math3d Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
painting Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qopengl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
text Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
util Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
gui.pro Moved tests into gui/kernel/ and gui/qopengl/ 2011-11-04 20:48:19 +01:00