qt5base-lts/src
Laszlo Agocs beb3dfed07 Support QImage and others in Wayland clipboard.
The wayland plugin's clipboard implementation lacked support for data
set via QMimeData::setImageData, QClipboard::setPixmap, etc. because
everything was treated as a QByteArray. A variant having an image
cannot however be converted to a byte array. Therefore, to make these
convenience functions to work, the image is now encoded via
QImageWriter before sending it. On the receiving side QMimeData is
capable of decoding images from byte arrays, so no problem there.
The patch also renames an internal QWaylandMimeData class to a more
suitable clipboard-specific name as the functionality is clipboard
specific.

Change-Id: I77e7df903b8dbe9731613fdbb9693b2a37b05d18
Reviewed-on: http://codereview.qt.nokia.com/2616
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
2011-08-04 12:10:53 +02:00
..
3rdparty Changed QLibrary::resolve() to return a function pointer. 2011-07-25 12:58:23 +02:00
corelib Fix QString/QByteArray literals for MSVC2010 (compilation of tests). 2011-08-02 17:14:02 +02:00
dbus Flag meta objects generated by QtDBus 2011-07-29 05:19:47 +02:00
gui Switch to use floating point pixelSize in QRawFont completely 2011-07-29 12:49:12 +02:00
modules Updated Qt and QtBase module version number to 5.0.0 2011-05-13 13:22:30 +03:00
network Doc: Removed documentation for deleted code. 2011-07-21 08:54:07 +02:00
opengl Changed QLibrary::resolve() to return a function pointer. 2011-07-25 12:58:23 +02:00
openvg Remove QPainter::UniteClip 2011-06-28 16:52:44 +02:00
plugins Support QImage and others in Wayland clipboard. 2011-08-04 12:10:53 +02:00
s60installs update def files 2011-05-11 16:40:09 +02:00
s60main Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
sql Make it possible to update a related table after an external update 2011-07-29 02:21:08 +02:00
testlib testlib: fix include of `qttestversion.h' in testlib.pro 2011-07-25 16:53:57 +02:00
tools simplify relative path generation 2011-06-22 11:17:02 +02:00
uitools Added module CONFIG to uitools. 2011-06-06 13:29:40 +02:00
winmain Windows: fixed qtmain.lib not going to `lib' directory 2011-07-26 03:27:34 +02:00
xml Remove QT3_SUPPORT from qsql, qxml 2011-07-06 12:03:30 +02:00
qbase.pri Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
qt_install.pri Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
qt_targets.pri Moved common module profiles to be feature profiles. 2011-06-05 14:47:14 +02:00
src.pro Move uitools from QtTools to QtBase 2011-04-27 12:05:52 +02:00