示例#1
0
    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
示例#2
0
    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
示例#3
0
	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
示例#4
0
	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
示例#5
0
	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
示例#6
0
    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