]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinrecenttabsmenu.h
Merge branch 'Applications/18.08'
[dolphin.git] / src / dolphinrecenttabsmenu.h
index b5acc735e57ef9d96bc1d652e2510cb58fd74ee0..1d052b9b0b4871c7209ec88ae36c7cb13fd227c8 100644 (file)
@@ -21,9 +21,9 @@
 #define DOLPHIN_RECENT_TABS_MENU_H
 
 #include <KActionMenu>
-#include <KUrl>
 
-class DolphinTabPage;
+#include <QUrl>
+
 class QAction;
 
 class DolphinRecentTabsMenu : public KActionMenu
@@ -34,11 +34,11 @@ public:
     explicit DolphinRecentTabsMenu(QObject* parent);
 
 public slots:
-    void rememberClosedTab(const KUrl& primaryUrl, const KUrl& secondaryUrl);
+    void rememberClosedTab(const QUrl& url, const QByteArray& state);
     void undoCloseTab();
 
 signals:
-    void restoreClosedTab(const KUrl& primaryUrl, const KUrl& secondaryUrl);
+    void restoreClosedTab(const QByteArray& state);
     void closedTabsCountChanged(unsigned int count);
 
 private slots:
@@ -48,4 +48,4 @@ private:
     QAction* m_clearListAction;
 };
 
-#endif
\ No newline at end of file
+#endif