def mimeData(self, indexes): paths = qtutils.paths_from_indexes(self, indexes, item_type=GitRepoNameItem.TYPE) return qtutils.mimedata_from_paths(paths)
def paths_from_indexes(self, indexes): return qtutils.paths_from_indexes(self.model(), indexes, item_type=GitRepoNameItem.TYPE)