forked from qt-creator/qt-creator
Implement renaming of tools and categories.
Not possible to reset them yet. Saves the change in the settings instead of writing new tools xml files. This probably needs to be adapted for tools that are "local" from the beginning.
This commit is contained in:
@@ -70,6 +70,9 @@ public:
|
||||
virtual void addAction(Core::Command *action, const QString &group = QString()) = 0;
|
||||
virtual void addMenu(Core::ActionContainer *menu, const QString &group = QString()) = 0;
|
||||
|
||||
// clears this menu and submenus from all actions and submenus
|
||||
// doesn't destroy the submenus and commands, just removes them from their parents
|
||||
virtual void clear() = 0;
|
||||
virtual ~ActionContainer() {}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user