summaryrefslogtreecommitdiff
path: root/src/newtabpage.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-01-03 18:31:13 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-01-03 18:31:13 +0100
commit4b363ed35e880a6a74ac7784fcad713c62902f3a (patch)
treec2fcf830a13d10c45ac15ad947fb20b4e381a1e2 /src/newtabpage.h
parentDo NOT load previews if not present (diff)
downloadrekonq-4b363ed35e880a6a74ac7784fcad713c62902f3a.tar.xz
improve closed tabs management
- remove reopened tabs from the closed tabs list. - limit them to MAX 8 elements (it seems enough to me) - save history also when there is just one tab closed - DON'T save history when you opened a "rekonq" page BUG:271224
Diffstat (limited to 'src/newtabpage.h')
-rw-r--r--src/newtabpage.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/newtabpage.h b/src/newtabpage.h
index 40627c6c..b4f3bcd6 100644
--- a/src/newtabpage.h
+++ b/src/newtabpage.h
@@ -57,12 +57,6 @@ public:
*/
void generate(const KUrl &url = KUrl("about:home"));
- /**
- * This method updates thumbs, removing loading previews
- * and providing a real picture
- */
- void updateThumbs();
-
private:
// these are the "high-level" functions to build the new tab page.
// Basically, you call browsingMenu + one of the *Page methods
@@ -84,6 +78,7 @@ private:
QWebElement emptyPreview(int index);
QWebElement validPreview(int index, const KUrl &url, const QString &title);
QWebElement tabPreview(int winIndex, int tabIndex, const KUrl &url, const QString &title);
+ QWebElement closedTabPreview(int index, const KUrl &url, const QString &title);
void removePreview(int index);