| 247 | } |
| 248 | |
| 249 | void CheckSetSelectionManager::saveCheckSetSelection(const CheckSetSelection& checkSetSelection) const |
| 250 | { |
| 251 | const QString fileName = checkSetSelectionFilePath(checkSetSelection.id()); |
| 252 | KConfig configFile(fileName, KConfig::SimpleConfig); |
| 253 | |
| 254 | KConfigGroup formatConfigGroup = configFile.group(QStringLiteral("KDEVCZCS")); |
| 255 | formatConfigGroup.writeEntry("Version", "1.0"); |
| 256 | |
| 257 | KConfigGroup generalConfigGroup = configFile.group(QStringLiteral("General")); |
| 258 | generalConfigGroup.writeEntry("Name", checkSetSelection.name()); |
| 259 | |
| 260 | KConfigGroup layoutConfigGroup = configFile.group(QStringLiteral("Checks")); |
| 261 | layoutConfigGroup.writeEntry("Selection", checkSetSelection.selectionAsString()); |
| 262 | } |
| 263 | |
| 264 | void CheckSetSelectionManager::removeCheckSetSelection(const QString& checkSetSelectionId) |
| 265 | { |
nothing calls this directly
no test coverage detected