Caches: method to save values given a list of keys.

This commit is contained in:
Mathew Sutcliffe
2016-06-30 22:20:32 +01:00
parent 242e041ceb
commit 843620ca3c
4 changed files with 50 additions and 0 deletions

View File

@@ -40,6 +40,9 @@ namespace BlackMisc
//! Save core settings to disk.
BlackMisc::CStatusMessage saveToStore(const QString &keyPrefix = {});
//! Save core settings to disk.
BlackMisc::CStatusMessage saveToStore(const QStringList &keys);
//! Connects signal CValueCache::valuesSaveRequested to a private slot that saves the values.
//! In a dbus distributed scenario, only call this method in the core process.
void enableLocalSave();