]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinrecenttabsmenu.h
SVN_SILENT made messages (.desktop file) - always resolve ours
[dolphin.git] / src / dolphinrecenttabsmenu.h
index 34d41530b6b4096d60829b2a4e6115a19c6a577d..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,10 +34,12 @@ 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:
     void handleAction(QAction* action);
@@ -46,4 +48,4 @@ private:
     QAction* m_clearListAction;
 };
 
-#endif
\ No newline at end of file
+#endif