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

Method applySettings

src/frontend/SettingsDatasetsPage.cpp:47–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47QList<Settings::Type> SettingsDatasetsPage::applySettings() {
48 QList<Settings::Type> changes;
49 if (!m_changed)
50 return changes;
51
52 KConfigGroup group = Settings::group(QStringLiteral("Settings_Datasets"));
53 group.writeEntry(QLatin1String("KaggleCLIPath"), ui.leKagglePath->text());
54
55 changes << Settings::Type::Datasets;
56 return changes;
57}
58
59void SettingsDatasetsPage::restoreDefaults() {
60 ui.leKagglePath->clear();

Callers

nothing calls this directly

Calls 2

groupFunction · 0.85
textMethod · 0.45

Tested by

no test coverage detected