[Qt-interest] mime data

ami guru dosto.walla at gmail.com
Tue Dec 30 16:55:26 CET 2008


Hello forum,



When implementing drag and drop support in a custom model, it is possible to
export items of data in specialized formats by reimplementing the following
function - as specified in the manual:



QMimeData mimeData(const QModelIndexList&) const



I have string and icon that need to be set. Icon type is not defined in the
QMimeData .



Should i subclass QMimeData or use the QMimeData::setData() .




Regards

Sajjad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081230/aa5e6f28/attachment.html 


More information about the Qt-interest-old mailing list