┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphintabpage.h
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2014-08-22 23:17:02 +0200
committerEmmanuel Pescosta <[email protected]>2014-08-22 23:17:02 +0200
commitd4fb129710d7fadf8e21f2cfd2588a794f774e41 (patch)
tree03f73790c290013aa7026ebea723e7e18741c999 /src/dolphintabpage.h
parentee946d362c64ee35af932b3cad54d23ad786fe55 (diff)
parent7b0c9bbc58fc543a116104155fc8f3d81113d3a8 (diff)
Merge branch 'master' into frameworks
Conflicts: dolphin/src/dolphinmainwindow.cpp dolphin/src/dolphinmainwindow.h dolphin/src/dolphinrecenttabsmenu.cpp dolphin/src/dolphinviewcontainer.cpp kfind/CMakeLists.txt
Diffstat (limited to 'src/dolphintabpage.h')
-rw-r--r--src/dolphintabpage.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/dolphintabpage.h b/src/dolphintabpage.h
index 95c02ed0a..2a406f4a9 100644
--- a/src/dolphintabpage.h
+++ b/src/dolphintabpage.h
@@ -120,8 +120,17 @@ 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();
+ void activeViewChanged(DolphinViewContainer* viewContainer);
void activeViewUrlChanged(const KUrl& url);
private slots:
@@ -133,6 +142,13 @@ private slots:
*/
void slotViewActivated();
+ /**
+ * Handles the view url redirection event.
+ *
+ * It emits the activeViewUrlChanged signal with the url \a newUrl.
+ */
+ void slotViewUrlRedirection(const KUrl& oldUrl, const KUrl& newUrl);
+
private:
/**
* Creates a new view container and does the default initialization.