/**
* 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:
/**
*/
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