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

Method saveConfigAsTemplate

src/frontend/dockwidgets/LollipopPlotDock.cpp:459–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457}
458
459void LollipopPlotDock::saveConfigAsTemplate(KConfig& config) {
460 KConfigGroup group = config.group(QStringLiteral("Lollipop"));
461
462 // general
463 group.writeEntry(QStringLiteral("Orientation"), ui.cbOrientation->currentIndex());
464
465 lineWidget->saveConfig(group);
466 symbolWidget->saveConfig(group);
467 valueWidget->saveConfig(group);
468
469 config.sync();
470}

Callers

nothing calls this directly

Calls 3

groupMethod · 0.45
currentIndexMethod · 0.45
saveConfigMethod · 0.45

Tested by

no test coverage detected