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

void QListView::dropEvent ( QDropEvent event  )  [protected, virtual, inherited]

Reimplemented from QAbstractItemView.

Reimplemented in QListWidget.

Definition at line 918 of file qlistview.cpp.

References QAbstractItemView::dropEvent(), QListView::internalDrop(), and QDropEvent::source().

Referenced by QListWidget::dropEvent().

{
    Q_D(QListView);
    if (event->source() == this && d->viewMode == IconMode)
        internalDrop(event); // ### move to dynamic
    else
        QAbstractItemView::dropEvent(event);
}


Generated by  Doxygen 1.6.0   Back to index