Example #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
Example #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
Example #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
Example #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
Example #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
Example #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