def dropMimeData(self, data, action, row, column, parent):
        if data.hasFormat('text/uri-list'):
            if data.hasUrls():
                files = [str(url.toLocalFile()) for url in data.urls()]
            elif data.hasText():
                files = [str(urllib.urlretrieve(uri)[0])
                    for uri in str(data.text()).split()
                    if urllib.splittype(uri)[0] == 'file']
            # Just let people know what's been added
            self.emit(QtCore.SIGNAL('filesAdded(QStringList)'), files)
            return True
        return False

    # model object access
handle the drop action, currently just uri-list
dataset/ETHPy150Open shotgunsoftware/pyqt-uploader/uploader.py/ShotgunFileModel.dropMimeData