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

Method saveConfigAsTemplate

src/frontend/dockwidgets/NoteDock.cpp:107–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void NoteDock::saveConfigAsTemplate(KConfig& config) {
108 KConfigGroup group = config.group(QStringLiteral("Notes"));
109
110 group.writeEntry(QStringLiteral("BackgroundColor"), ui.kcbBgColor->color());
111 group.writeEntry(QStringLiteral("TextColor"), ui.kcbTextColor->color());
112 group.writeEntry(QStringLiteral("TextFont"), ui.kfrTextFont->font());
113}

Callers

nothing calls this directly

Calls 3

fontMethod · 0.80
groupMethod · 0.45
colorMethod · 0.45

Tested by

no test coverage detected