| 343 | } |
| 344 | |
| 345 | int ClientToolManager::toolIndexForToolId(const QString &toolId) const |
| 346 | { |
| 347 | int i = 0; |
| 348 | for (auto it = m_tools.constBegin(); it != m_tools.constEnd(); ++i, ++it) { |
| 349 | if (it->id() == toolId) |
| 350 | return i; |
| 351 | } |
| 352 | return -1; |
| 353 | } |
| 354 | |
| 355 | ToolInfo ClientToolManager::toolForToolId(const QString &toolId) const |
| 356 | { |
no test coverage detected