- /** update toolbar information
- * ToolbarInfo will then be saved by session
- */
- void saveInfo(ToolbarSection::ToolbarInfo & info);
+
+ /// Session key.
+ /**
+ * This key must be used for any session setting.
+ **/
+ QString sessionKey() const;
+ /// Save session settings.
+ void saveSession(QSettings & settings) const;
+ /// Restore session settings.
+ void restoreSession();
+
+ ///
+ bool isRestored() const;
+