diff options
| author | Emmanuel Pescosta <[email protected]> | 2014-08-20 23:06:39 +0200 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2014-08-20 23:06:39 +0200 |
| commit | 2d2d55f3df09614e6b7cf267771b52a04dcb5e28 (patch) | |
| tree | 50588d8f2628da5ec804656616ea2ed07e22e76b /src/dolphintabpage.h | |
| parent | 4b758c386fb3957160af334230bacd96ed810d2c (diff) | |
Save the view states in addition to the view urls and splitter state in DolphinTabPage.
Also added version numbers to view and tab state.
REVIEW: 119792
Diffstat (limited to 'src/dolphintabpage.h')
| -rw-r--r-- | src/dolphintabpage.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dolphintabpage.h b/src/dolphintabpage.h index de5a58915..2a406f4a9 100644 --- a/src/dolphintabpage.h +++ b/src/dolphintabpage.h @@ -120,6 +120,15 @@ public: */ void restoreState(const QByteArray& state); + /** + * Restores all tab related properties (urls, splitter layout, ...) from + * the given \a state. + * + * @deprecated The first tab state version has no version number, we keep + * this method to restore old states (<= Dolphin 4.14.x). + */ + void restoreStateV1(const QByteArray& state); + signals: void activeViewChanged(DolphinViewContainer* viewContainer); void activeViewUrlChanged(const KUrl& url); |
