#NEWLINE# def copy_to_clipboard( self , copy = True ) : #NEWLINE# #INDENT# '\n        Copies the selected items to the clipboard\n        :param copy: True to copy, False to cut.\n        ' #NEWLINE# urls = self . selected_urls ( ) #NEWLINE# if ( not urls ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# mime = self . _UrlListMimeData ( self ) #NEWLINE# mime . set_list ( urls ) #NEWLINE# clipboard = QtWidgets . QApplication . clipboard ( ) #NEWLINE# clipboard . setMimeData ( mime )