I have mimedata which i need to be caught in dropevent and i am able to do that, but i want to know about can't i get QModelIndex from mimedata in dropevent ?

As i am have tree view i need to make parent relation. is there anyother way?