]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphintabwidget.h
React on the redirection signal from DolphinView to properly update the tab and windo...
[dolphin.git] / src / dolphintabwidget.h
index a9bef11be155374dc98f6899b11e0e1a7c3adb1f..98bcd985abc37cdd3657da8a4f47b73794da245a 100644 (file)
@@ -70,7 +70,13 @@ 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);
+
+    /**
+     * Is emitted when the url of the current tab has been changed. This signal
+     * is also emitted when the active view has been changed.
+     */
+    void currentUrlChanged(const KUrl& url);
 
 public slots:
     /**
@@ -133,6 +139,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