#define DOLPHIN_RECENT_TABS_MENU_H
#include <KActionMenu>
-#include <KUrl>
-class DolphinTabPage;
+#include <QUrl>
+
class QAction;
class DolphinRecentTabsMenu : public KActionMenu
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);
QAction* m_clearListAction;
};
-#endif
\ No newline at end of file
+#endif