- CoreSettings();
-
- void setDatabaseSettings(const QVariant &data);
- QVariant databaseSettings(const QVariant &def = QVariant());
-
- void setPort(const uint &port);
- uint port(const uint &def = DEFAULT_PORT);
-
- private:
- //virtual QStringList allSessionKeys() = 0;
- virtual QStringList sessionKeys();
-
- virtual void setSessionValue(const QString &key, const QVariant &data);
- virtual QVariant sessionValue(const QString &key, const QVariant &def = QVariant());
+ CoreSettings(const QString group = "Core");
+
+ void setStorageSettings(const QVariant &data);
+ QVariant storageSettings(const QVariant &def = QVariant());
+
+ QVariant oldDbSettings(); // FIXME remove
+
+ void setCoreState(const QVariant &data);
+ QVariant coreState(const QVariant &def = QVariant());