diff options
author | David E. Narváez <david.narvaez@computer.org> | 2012-01-12 23:11:33 -0500 |
---|---|---|
committer | David E. Narváez <david.narvaez@computer.org> | 2012-01-12 23:11:33 -0500 |
commit | 7504b595fea9924a4a397cea3dc69fa2e0fd0119 (patch) | |
tree | 4de77dab52b76e49c392987645b0214256a2b47d /src/sessionmanager.h | |
parent | rekonq 0.8.58 (diff) | |
download | rekonq-7504b595fea9924a4a397cea3dc69fa2e0fd0119.tar.xz |
Implement (User) Session Restore
This patch implements session management. Most of the ideas are taken
from Konsole, which is also a KUniqueApplication but manages session
restoring correctly.
REVIEW: 103658
Diffstat (limited to 'src/sessionmanager.h')
-rw-r--r-- | src/sessionmanager.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sessionmanager.h b/src/sessionmanager.h index d0d7efde..a8560b41 100644 --- a/src/sessionmanager.h +++ b/src/sessionmanager.h @@ -39,7 +39,7 @@ // Forward Declarations class QString; class TabHistory; - +class MainWindow; /** * Session Management: Needs clean up :) @@ -61,6 +61,9 @@ public: // while turning back from Private mode int restoreSavedSession(); + // This method restores a single MainWindow + bool restoreMainWindow(MainWindow * window); + public Q_SLOTS: // This method restores session // on restart when restore at startup is chosen |