[Qt-interest] Dropmimedata()
Yuvaraj R
yuvaraj at ongobiz.com
Sat Jul 4 16:15:55 CEST 2009
Hi
Thanks for your reply
How can i solve this issue..
please help me
Thanks
Yuvaraj R
On Sat, Jul 4, 2009 at 7:38 PM, J-P Nurmi <jpnurmi at gmail.com> wrote:
> On Sat, Jul 4, 2009 at 4:35 PM, Yuvaraj R<yuvaraj at ongobiz.com> wrote:
> > Hi All
> >
> > QtreeWidget Drag and Drop , dropminedata function is not called, though
> i
> > defined..
> >
> > ...
> >
> > class MainWindow : public QMainWindow
> > {
> > ...
> > bool dropMimeData(QTreeWidgetItem *parent, int index, const
> QMimeData
> > *data, Qt::DropAction action);
> > ...
> > };
>
> It's a virtual method of QTreeWidget, not QMainWindow. You are
> supposed to inherit QTreeWidget and reimplement it in the QTreeWidget
> subclass.
>
> --
> J-P Nurmi
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090704/b5a69b8b/attachment.html
More information about the Qt-interest-old
mailing list