def rename(self, from_name, to_name): """See qtitem.""" qtitem.rename(self, from_name, to_name) if self._item == from_name: self._item = to_name
def rename(self, from_name, to_name): """ Handles an item rename. Arguments: from_name -- The old name of the item to be renamed. to_name -- The new name of the item to be renamed. """ qtitem.rename(self, from_name, to_name) if self.var.item == from_name: self.var.item = to_name
def rename(self, from_name, to_name): """ Handles an item rename. Arguments: from_name -- The old name of the item to be renamed. to_name -- The new name of the item to be renamed. """ qtitem.rename(self, from_name, to_name) if self.item == from_name: self.item = to_name
def rename(self, from_name, to_name): """ desc: Responds to an item rename. arguments: from_name: The old name of the item to be renamed. to_name: The new name of the item to be renamed. """ qtitem.rename(self, from_name, to_name) if self._item == from_name: self._item = to_name