| 172 | } |
| 173 | |
| 174 | ActionContainer *ActionManager::createContainer(const QString &containerId) |
| 175 | { |
| 176 | auto it = d->idContainerMap.constFind(containerId); |
| 177 | if (it != d->idContainerMap.constEnd()) |
| 178 | return it.value(); |
| 179 | |
| 180 | auto mc = new ActionContainer(containerId, d); |
| 181 | d->idContainerMap.insert(containerId, mc); |
| 182 | connect(mc, &QObject::destroyed, d, &ActionManagerPrivate::containerDestroyed); |
| 183 | |
| 184 | return mc; |
| 185 | } |
| 186 | |
| 187 | ActionContainer *ActionManager::actionContainer(const QString &containerId) |
| 188 | { |
no test coverage detected