[Qt-interest] Drag and Drop Pointers/QModelIndex Within Application
Robert Hairgrove
evorgriahr at hispeed.ch
Mon May 25 18:55:22 CEST 2009
Karol Krizka wrote:
> On Mon, 2009-05-25 at 16:19 +0200, Robert Hairgrove wrote:
>> What does it matter how the data inside of QMimeData is handled when you
>> already have a very nice interface for extending it to include your own
>> types? Stick to the interface, and you will have fewer problems!
> I think I would have fewer problems if I could use the nice QMimeData
> interface that is already there, WITHOUT having to extend it. :)
>
> Also, how do you propose that I extend the QMimeData? I was originally
> under the impression that you meant to create a new class that inherits
> QMimeData (suggested by Qt's documentation too), but some of your
> wording makes me doubt that.
Sorry if my wording was not clear enough. Actually, I think you DO need
to inherit from the QMimeData class and override the virtual functions
mentioned in the documentation for that class.
More information about the Qt-interest-old
mailing list