summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Eike Beer <eb@emlix.com>2016-06-06 13:58:10 (GMT)
committerRolf Eike Beer <kde@opensource.sf-tec.de>2016-06-06 16:50:19 (GMT)
commitd4496b92f25889fd302066b19e76221295469fe8 (patch)
treed8a5e611a40bef512f87c8290507bac5e423a12c
parent2f9ec03fdb60244cbb33aa479032300d1b45c885 (diff)
port away from void KCoreConfigSkeleton::writeConfig()
-rw-r--r--editor/kgpgeditor.cpp2
-rw-r--r--keysmanager.cpp6
-rw-r--r--kgpgexternalactions.cpp2
-rw-r--r--kgpgoptions.cpp2
4 files changed, 6 insertions, 6 deletions
diff --git a/editor/kgpgeditor.cpp b/editor/kgpgeditor.cpp
index c04dda4..50be428 100644
--- a/editor/kgpgeditor.cpp
+++ b/editor/kgpgeditor.cpp
@@ -157,7 +157,7 @@ void KgpgEditor::closeWindow()
void KgpgEditor::saveOptions()
{
KGpgSettings::setFirstRun(false);
- KGpgSettings::self()->writeConfig();
+ KGpgSettings::self()->save();
}
void KgpgEditor::initActions()
diff --git a/keysmanager.cpp b/keysmanager.cpp
index 57b488b..6cc88c6 100644
--- a/keysmanager.cpp
+++ b/keysmanager.cpp
@@ -1142,7 +1142,7 @@ void KeysManager::saveToggleOpts(void)
KGpgSettings::setTrustLevel(trustProps->currentItem());
KGpgSettings::setShowSecret(hPublic->isChecked());
KGpgSettings::setShowLongKeyId(longId->isChecked());
- KGpgSettings::self()->writeConfig();
+ KGpgSettings::self()->save();
}
void KeysManager::readOptions()
@@ -1198,7 +1198,7 @@ void KeysManager::slotSetDefaultKey(const QString &newID)
if (ndef == Q_NULLPTR) {
KGpgSettings::setDefaultKey(newID);
- KGpgSettings::self()->writeConfig();
+ KGpgSettings::self()->save();
return;
}
@@ -1213,7 +1213,7 @@ void KeysManager::setDefaultKeyNode(KGpgKeyNode *key)
return;
KGpgSettings::setDefaultKey(newID);
- KGpgSettings::self()->writeConfig();
+ KGpgSettings::self()->save();
imodel->setDefaultKey(key);
}
diff --git a/kgpgexternalactions.cpp b/kgpgexternalactions.cpp
index 76637b9..da2d409 100644
--- a/kgpgexternalactions.cpp
+++ b/kgpgexternalactions.cpp
@@ -479,7 +479,7 @@ void KGpgExternalActions::slotSaveOptionsPath()
const QString defaultID(m_assistant->getDefaultKey());
- KGpgSettings::self()->writeConfig();
+ KGpgSettings::self()->save();
emit updateDefault(defaultID);
if (m_assistant->runKeyGenerate())
emit createNewKey();
diff --git a/kgpgoptions.cpp b/kgpgoptions.cpp
index 3346201..2bc5659 100644
--- a/kgpgoptions.cpp
+++ b/kgpgoptions.cpp
@@ -460,7 +460,7 @@ void kgpgOptions::updateSettings()
m_emailSortingIndex = m_page3->kcfg_EmailSorting->currentIndex();
KGpgSettings::setEmailSorting(m_emailSortingIndex);
- KGpgSettings::self()->writeConfig();
+ KGpgSettings::self()->save();
m_config->sync();
emit settingsUpdated();