docs: def renameMenu( self ):
          """
          Prompts the user to supply a new name for the menu.
          """
          item = self.uiMenuTREE.currentItem()
          
          name, accepted = QInputDialog.getText( self,
                                                 'Rename Menu',
                                                 'Name:',
                                                 QLineEdit.Normal,
                                                 item.text(0))
          if ( accepted ):
              item.setText(0, name)