See QClipboard::mimeData() and QMimeData::urls().