refs #545 CSetting<T>::setAndSave to set and save a setting in one step.

This commit is contained in:
Mathew Sutcliffe
2016-01-10 20:43:21 +00:00
parent d9167cf226
commit 956d393bb1
7 changed files with 33 additions and 6 deletions

View File

@@ -34,6 +34,10 @@ namespace BlackMisc
//! Save core settings to disk.
BlackMisc::CStatusMessage saveToStore(const QString &keyPrefix = {});
//! Save individual settings to disk.
//! Core application context connects this slot to the valuesSaveRequested signal.
void saveToStoreByPacket(const CValueCachePacket &values);
//! Load core settings from disk.
BlackMisc::CStatusMessage loadFromStore();