Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

bool QTreeWidget::dropMimeData ( QTreeWidgetItem parent,
int  index,
const QMimeData data,
Qt::DropAction  action 
) [protected, virtual]

Handles the data supplied by a drag and drop operation that ended with the given action in the index in the given parent item.

See also:
supportedDropActions()

Definition at line 2422 of file qtreewidget.cpp.

References indexFromItem(), and QAbstractItemView::model().

{
    QModelIndex idx;
    if (parent) idx = indexFromItem(parent);
    return model()->QAbstractItemModel::dropMimeData(data, action , index, 0, idx);
}


Generated by  Doxygen 1.6.0   Back to index