diff options
| author | Emmanuel Pescosta <[email protected]> | 2014-08-10 20:36:44 +0200 |
|---|---|---|
| committer | Emmanuel Pescosta <[email protected]> | 2014-08-13 20:50:36 +0200 |
| commit | 62418c58a58fac668e713655552b1c614b226298 (patch) | |
| tree | 33997f4913c95c8a6dd2bd10a1cf3acb02439eee /src/dolphintabwidget.h | |
| parent | 4b70446c17dff6646c11966670bcbe145d07c685 (diff) | |
Use DolphinTabPage saveState/restoreState to remember and re-open closed tabs.
REVIEW: 118968
Diffstat (limited to 'src/dolphintabwidget.h')
| -rw-r--r-- | src/dolphintabwidget.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/dolphintabwidget.h b/src/dolphintabwidget.h index a9bef11be..aaadbc997 100644 --- a/src/dolphintabwidget.h +++ b/src/dolphintabwidget.h @@ -70,7 +70,7 @@ signals: /** * Is emitted when a tab has been closed. */ - void rememberClosedTab(const KUrl& primaryUrl, const KUrl& secondaryUrl); + void rememberClosedTab(const KUrl& url, const QByteArray& state); public slots: /** @@ -133,6 +133,12 @@ public slots: */ void slotPlacesPanelVisibilityChanged(bool visible); + /** + * Is called when the user wants to reopen a previously closed tab from + * the recent tabs menu. + */ + void restoreClosedTab(const QByteArray& state); + private slots: /** * Opens the tab with the index \a index in a new Dolphin instance and closes |
