diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-10-08 19:41:55 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-10 02:48:05 +0100 |
commit | 43b0121f717dda8a1f179fb585a3c78e3552430c (patch) | |
tree | 60b7132e4440685d7e905fae8afc7df447993748 /src/sessionmanager.h | |
parent | Saving the "pinned" state in the sessionmanager (diff) | |
download | rekonq-43b0121f717dda8a1f179fb585a3c78e3552430c.tar.xz |
Restoring pinned tabs, yeah!!!! :D
Diffstat (limited to 'src/sessionmanager.h')
-rw-r--r-- | src/sessionmanager.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/sessionmanager.h b/src/sessionmanager.h index dbff7e69..da60d889 100644 --- a/src/sessionmanager.h +++ b/src/sessionmanager.h @@ -67,10 +67,6 @@ public: QList<TabHistory> closedSites(); - // This method restores session - // while turning back from Private mode - int restoreSavedSession(); - // This method restores a single TabWindow bool restoreTabWindow(TabWindow * window); @@ -82,8 +78,13 @@ public Q_SLOTS: // on restart when restore at startup is chosen bool restoreSessionFromScratch(); -private Q_SLOTS: + // 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: void save(); // This method restores session |