| 142 | } |
| 143 | |
| 144 | void ActionContainer::insertGroup(const QString &before, const QString &groupId) |
| 145 | { |
| 146 | auto it = d->groupList.begin(); |
| 147 | while (it != d->groupList.end()) { |
| 148 | if (it->id == before) { |
| 149 | d->groupList.insert(it, Group(groupId)); |
| 150 | break; |
| 151 | } |
| 152 | ++it; |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | void ActionContainer::addAction(Command *action, const QString &groupId) |
| 157 | { |
no test coverage detected