示例#1
0
 def mimeData(self, items):
     """Return a list of absolute-path URLs"""
     paths = qtutils.paths_from_items(items,
                                      item_filter=lambda item: not item.
                                      deleted and core.exists(item.path))
     return qtutils.mimedata_from_paths(paths)
示例#2
0
 def mimeData(self, items):
     """Return a list of absolute-path URLs"""
     paths = qtutils.paths_from_items(items, item_filter=lambda x: x.exists)
     return qtutils.mimedata_from_paths(paths)
示例#3
0
 def mimeData(self, items):
     """Return a list of absolute-path URLs"""
     paths = qtutils.paths_from_items(items, item_filter=lambda item:
                                                 not item.deleted
                                                 and core.exists(item.path))
     return qtutils.mimedata_from_paths(paths)
示例#4
0
 def mimeData(self, items):
     """Return a list of absolute-path URLs"""
     paths = qtutils.paths_from_items(items, item_filter=lambda x: x.exists)
     return qtutils.mimedata_from_paths(paths)