It should be easy to rename a menu.
Because the title of the menu is used in the parent menu, one option is to only allow menu title modification at the level of the parent in the form of :
void renameMenu(dtkWidgetsMenu *menu, const QString& title);