From f59b52ea590fcef4f76b8691edec542e133c1b78 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 14 Sep 2009 00:24:08 +0200 Subject: Recently closed tabs: first implementation --- src/mainview.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainview.h') diff --git a/src/mainview.h b/src/mainview.h index c59cca1a..ba79d9f8 100644 --- a/src/mainview.h +++ b/src/mainview.h @@ -71,6 +71,8 @@ public: WebView *currentWebView() const; int webViewIndex(WebView *webView) const; + KUrl::List recentlyClosedTabs(); + /** * show and hide TabBar if user doesn't choose * "Always Show TabBar" option @@ -158,6 +160,8 @@ private: QString m_loadingGitPath; int m_currentTabIndex; + + KUrl::List m_recentlyClosedTabs; }; #endif // MAINVIEW_H -- cgit v1.2.1 From a25e22d7b195877666237007665ce20e1358753b Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 15 Sep 2009 12:37:14 +0200 Subject: Fixing state. Rekonq is not usable now, but this seems a good tech preview. Anyway, performance is definitely a problem with this method, also loading just the first time. Looking at the other way... :) --- src/mainview.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainview.h') diff --git a/src/mainview.h b/src/mainview.h index ba79d9f8..1ba4a63d 100644 --- a/src/mainview.h +++ b/src/mainview.h @@ -124,6 +124,7 @@ public slots: void slotWebReload(); void slotWebStop(); + void polish(); private slots: void slotCurrentChanged(int index); -- cgit v1.2.1 From 32d0da0ba3c17281c4a69ee84b42e98246eb3c5d Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 15 Sep 2009 12:58:56 +0200 Subject: First adjustments and code about it (it's really simple, anyway..Qt rocks!!!) --- src/mainview.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/mainview.h') diff --git a/src/mainview.h b/src/mainview.h index 1ba4a63d..8a5c5cfa 100644 --- a/src/mainview.h +++ b/src/mainview.h @@ -124,8 +124,6 @@ public slots: void slotWebReload(); void slotWebStop(); - void polish(); - private slots: void slotCurrentChanged(int index); -- cgit v1.2.1