diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-03-30 00:33:23 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-04-02 09:22:58 +0200 |
commit | 34050a0c87ff606b3ee56fe83dfdab0afde67a7d (patch) | |
tree | bdbf221d9af5c27b4818fee0c240a6dba5bef6a1 /src/sessionmanager.h | |
parent | SVN_SILENT made messages (.desktop file) (diff) | |
download | rekonq-34050a0c87ff606b3ee56fe83dfdab0afde67a7d.tar.xz |
Managing sessions, first bits
This code is based on the patch from mayank jha about session saving.
Will be used as "first part" of the session saving support in rekonq.
CCMAIL: mjnovice@gmail.com
Diffstat (limited to 'src/sessionmanager.h')
-rw-r--r-- | src/sessionmanager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sessionmanager.h b/src/sessionmanager.h index 6d6bef26..22665dc4 100644 --- a/src/sessionmanager.h +++ b/src/sessionmanager.h @@ -77,11 +77,9 @@ public Q_SLOTS: // This method restores session // on restart when restore at startup is chosen bool restoreSessionFromScratch(); - // This method restores (eventually) the tabs present // if there are NO pinned tabs to restore, it returns FALSE... bool restoreJustThePinnedTabs(); - void saveSession(); private Q_SLOTS: @@ -89,9 +87,11 @@ private Q_SLOTS: // after a crash void restoreCrashedSession(); + bool saveYourSession(); + bool restoreYourSession(); + private: QString m_sessionFilePath; - bool m_safe; bool m_isSessionEnabled; |