| 293 | } |
| 294 | |
| 295 | QVector<Format> ModelsManager::formats(const QString& group) const |
| 296 | { |
| 297 | QVector<Format> formats; formats << Raw; |
| 298 | |
| 299 | const auto namesOfRegisterGroups = m_controller->namesOfRegisterGroups(); |
| 300 | for (const GroupsName& g : namesOfRegisterGroups) { |
| 301 | if (g.name() == group) { |
| 302 | formats = m_controller->formats(g); |
| 303 | break; |
| 304 | } |
| 305 | } |
| 306 | |
| 307 | return formats; |
| 308 | } |
| 309 | |
| 310 | void ModelsManager::save(const GroupsName& g) |
| 311 | { |
no test coverage detected