+class UISUPPORT_EXPORT SessionSettings : public UiSettings
+{
+public:
+ SessionSettings(QString sessionId, QString group = "Session");
+
+ void setValue(const QString& key, const QVariant& data) override;
+ QVariant value(const QString& key, const QVariant& def = {}) const override;
+
+ void removeKey(const QString& key);
+ void removeSession();
+
+ void cleanup();
+ void sessionAging();
+
+ int sessionAge();
+ void setSessionAge(int age);
+ QString sessionId() const;
+ void setSessionId(QString sessionId);
+
+private:
+ QString _sessionId;
+};