new feature: changing the name of modes

This commit is contained in:
Jan Käberich 2025-05-12 17:04:23 +02:00
parent 6b81b307b7
commit 0cdc4b138a
4 changed files with 33 additions and 4 deletions

View file

@ -29,7 +29,7 @@ public:
Mode* getMode(int index);
std::vector<Mode*> getModes();
bool nameAllowed(const QString &name);
bool nameAllowed(const QString &name, unsigned int ignoreIndex=-1);
int findIndex(Mode *targetMode);
Mode* findFirstOfType(Mode::Type t);