code: def qteMacroNameMangling(self, macroCls):
          macroName = re.sub(r"([A-Z])", r'-\1', macroCls.__name__)
          if macroName[0] == '-':
              macroName = macroName[1:]
          return macroName.lower()