MCPcopy Create free account
hub / github.com/KDE/labplot / saveConfigAsTemplate

Method saveConfigAsTemplate

src/frontend/dockwidgets/QQPlotDock.cpp:293–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293void QQPlotDock::saveConfigAsTemplate(KConfig& config) {
294 KConfigGroup group = config.group(QStringLiteral("QQPlot"));
295
296 // distribution
297 group.writeEntry(QStringLiteral("kernelType"), static_cast<int>(m_plot->distribution()));
298
299 // properties of the reference and percentile curves
300 lineWidget->saveConfig(group);
301 symbolWidget->saveConfig(group);
302 config.sync();
303}

Callers

nothing calls this directly

Calls 2

groupMethod · 0.45
saveConfigMethod · 0.45

Tested by

no test coverage detected