| 234 | } |
| 235 | |
| 236 | void RunChartDock::saveConfigAsTemplate(KConfig& config) { |
| 237 | KConfigGroup group = config.group(QStringLiteral("RunChart")); |
| 238 | |
| 239 | // general |
| 240 | group.writeEntry(QStringLiteral("CenterMetric"), static_cast<int>(m_plot->centerMetric())); |
| 241 | |
| 242 | // properties of the data and center curves |
| 243 | dataLineWidget->saveConfig(group); |
| 244 | dataSymbolWidget->saveConfig(group); |
| 245 | centerLineWidget->saveConfig(group); |
| 246 | config.sync(); |
| 247 | } |
nothing calls this directly
no test coverage detected