From 765d552196d75c22792c1fe073baad64ebe46945 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 29 Sep 2009 13:24:29 +0200 Subject: a lot fo changes in the history/bookmarks page (restored initial method rewamped) --- src/homepage.cpp | 74 +++++++++++++++++++++++++++++++++++++++++--------------- src/homepage.h | 8 +++--- 2 files changed, 59 insertions(+), 23 deletions(-) (limited to 'src') diff --git a/src/homepage.cpp b/src/homepage.cpp index f79a3446..c57661c4 100644 --- a/src/homepage.cpp +++ b/src/homepage.cpp @@ -76,11 +76,11 @@ QString HomePage::rekonqHomePage(const KUrl &url) QString speed; if(url == KUrl("about:lastSites")) - speed = fillRecentHistory(); + speed = lastVisitedSites(); if(url == KUrl("about:history")) - speed = history(); + speed = fillHistory(); if(url == KUrl("about:bookmarks")) - speed = bookmarks(); + speed = fillBookmarks(); if(url == KUrl("about:home") || url == KUrl("about:preferred")) speed = speedDial(); @@ -141,7 +141,7 @@ QString HomePage::recentlyClosedTabs() } -QString HomePage::fillRecentHistory() +QString HomePage::lastVisitedSites() { QString history = "

" + i18n("Last 20 visited sites") + "

"; history += "