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

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

[1]

[0]

[2]

[1]

Reimplemented from QWidget.

Definition at line 8 of file src_corelib_kernel_qmimedata.cpp.

References QMimeData::hasUrls(), QDropEvent::mimeData(), and QMimeData::urls().

{
    if (event->mimeData()->hasUrls()) {
        foreach (QUrl url, event->mimeData()->urls()) {
            ...
        }
    }
}


Generated by  Doxygen 1.6.0   Back to index