Exemple #1
0
 def mimeData(self, indexes):
     paths = qtutils.paths_from_indexes(self,
                                        indexes,
                                        item_type=GitRepoNameItem.TYPE)
     return qtutils.mimedata_from_paths(paths)
Exemple #2
0
 def paths_from_indexes(self, indexes):
     return qtutils.paths_from_indexes(self.model(), indexes,
                                       item_type=GitRepoNameItem.TYPE)
Exemple #3
0
 def mimeData(self, indexes):
     paths = qtutils.paths_from_indexes(self, indexes,
                                        item_type=GitRepoNameItem.TYPE)
     return qtutils.mimedata_from_paths(paths)
Exemple #4
0
 def paths_from_indexes(self, indexes):
     return qtutils.paths_from_indexes(self.model(), indexes,
                                       item_type=GitRepoNameItem.TYPE)