]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphintabpage.h
Merge remote-tracking branch 'origin/master' into frameworks
[dolphin.git] / src / dolphintabpage.h
index 95c02ed0a1ef8759d6a9d1ebee6e0c4b29f254a4..2a406f4a9a065687eff0d07ff6d15de421d752af 100644 (file)
@@ -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.