summaryrefslogtreecommitdiff
path: root/src/sessionmanager.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-26 00:03:00 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-26 00:03:00 +0200
commit64475d706faf1620cec8899da7165f4bc369d8a2 (patch)
treeb57275e990201b2d59422fa6d79d5528830fb8d3 /src/sessionmanager.h
parentFixing a bit thumbs tableWidget (diff)
downloadrekonq-64475d706faf1620cec8899da7165f4bc369d8a2.tar.xz
Fixing sessionmanager (at least I hope so):
- moved from DataStream to TextStream (we use strings..) - implemented a semaphore (m_safe) - closing every time file
Diffstat (limited to 'src/sessionmanager.h')
-rw-r--r--src/sessionmanager.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sessionmanager.h b/src/sessionmanager.h
index 1ff8fa53..b66415e5 100644
--- a/src/sessionmanager.h
+++ b/src/sessionmanager.h
@@ -34,6 +34,7 @@
#include <QtCore/QObject>
#include <QtCore/QString>
+
/**
*
*/
@@ -43,13 +44,15 @@ class SessionManager : public QObject
public:
SessionManager(QObject *parent = 0);
~SessionManager();
+ bool restoreSession();
-public slots:
+private slots:
void saveSession();
- bool restoreSession();
+
private:
QString m_sessionFilePath;
+ bool m_safe;
};