| 91 | void Commander::SetMainCommands(const CommandsGroup &group) { mainCommandsGroup = group; } |
| 92 | |
| 93 | void Commander::AddServerGroup(const QString &scriptName, const QString &description, const CommandsGroup &group) |
| 94 | { |
| 95 | ServerCommandsGroup sg; |
| 96 | sg.scriptName = scriptName; |
| 97 | sg.description = description; |
| 98 | sg.enabled = true; |
| 99 | sg.group = group; |
| 100 | serverGroups[scriptName] = sg; |
| 101 | Q_EMIT commandsUpdated(); |
| 102 | } |
| 103 | |
| 104 | void Commander::RemoveServerGroup(const QString &scriptName) |
| 105 | { |
no outgoing calls
no test coverage detected