diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-09-26 00:03:00 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-09-26 00:03:00 +0200 |
commit | 64475d706faf1620cec8899da7165f4bc369d8a2 (patch) | |
tree | b57275e990201b2d59422fa6d79d5528830fb8d3 /src/sessionmanager.h | |
parent | Fixing a bit thumbs tableWidget (diff) | |
download | rekonq-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.h | 7 |
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; }; |