[Kde-pim] [PATCH] Access to QMimeData in DndFactory

Thomas Thrainer tom_t at gmx.at
Mon Feb 18 17:48:58 GMT 2008


Hello

I am currently working on a rewrite of the todo-view in KOrganizer. I base the 
new view on a model, which extends from QAbstractItemModel. This model 
already provides functionality for DnD, but uses QMimeData directly instead 
of a QDrop object.

DndFactory internally creates the QMimeData object, but only returns it within 
a QDrop object. This patch provides 4 new methods in DndFactory which allow 
the use of QMimeData objects directly.

Is this ok for you? Can I commit this patch?

Cheers
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dndfactory.diff
Type: text/x-diff
Size: 4199 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080218/2ab4e40d/attachment.diff>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list