Hello,

QClipboard on Qt 4.8 may emit changed(), dataChanged(), findBufferChanged() or
selectionChanged() signals from within QClipboard::setMimeData(), which is
called both externally and internally. On QPA, as it has already been done on
Qt5, it makes sense to let the QPA plugin implementation of
QPlatformClipboard::setMimeData() handle the signal emission, for the plugin
must know better when to do it.
The proposed change can be found at 
https://codereview.qt-project.org/#change,44009

It moves the signal emissions to the respective platform plugins, but it is
worth noting that third-party QPA plugins implementing QPlatformClipboard will
have to adjust their implementation of QPlatformClipboard::setMimeData() by
emtting the signals appropriately (see the aforementioned review for
examples).

If anyone agrees or disagrees with this change, please be very welcome to
state your +1s and -1s on the review or in this thread. Reviews are of course
very welcome, too.

Kind regards,
Rafael
-- 
Rafael Roquetto | [email protected] | Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to