summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-14 00:05:14 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-14 18:36:47 +0200
commitb476c9caf91f94b8448dfce6565662d7d8a95156 (patch)
tree98770b954e3d6e8f5f0fb4aa22bc93b624684c7c /src
parentSearch Engine, first draft (diff)
downloadrekonq-b476c9caf91f94b8448dfce6565662d7d8a95156.tar.xz
Fixing a bit examples, positions, links and so on..
Diffstat (limited to 'src')
-rw-r--r--src/homepage.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/homepage.cpp b/src/homepage.cpp
index 430fa9a6..20276f57 100644
--- a/src/homepage.cpp
+++ b/src/homepage.cpp
@@ -85,9 +85,9 @@ QString HomePage::rekonqHomePage()
QString HomePage::speedDial()
{
KUrl::List ul ;
- ul << KUrl("http://www.google.it") << KUrl("http://www.kde.org") << KUrl("http://rekonq.sourceforge.net")
+ ul << KUrl("http://www.google.com") << KUrl("http://www.kde.org") << KUrl("http://sourceforge.net")
<< KUrl("http://www.slacky.eu") << KUrl("http://kde-apps.org") << KUrl("http://www.kernel.org")
- << KUrl("http://it.wikipedia.org") << KUrl("http://www.adjam.org") << KUrl("http://adjamblog.wordpress.com");
+ << KUrl("http://it.wikipedia.org") << KUrl("http://www.adjam.org") << KUrl("http://wordpress.com");
QString speed = QString();
for(int i = 0; i< ul.count(); ++i)
@@ -101,9 +101,11 @@ QString HomePage::speedDial()
WebSnap *ws = new WebSnap(url, fileName);
}
- speed += "<div class=\"thumbnail\"><img src=\"" + path + "\" width=\"200\" alt=\"" + url.prettyUrl() + "\" />";
+ speed += "<div class=\"thumbnail\">";
+ speed += "<a href=\"" + url.prettyUrl() + "\">";
+ speed += "<img src=\"" + path + "\" width=\"200\" alt=\"" + url.prettyUrl() + "\" />";
speed += "<br />";
- speed += "<a href=\"" + url.prettyUrl() + "\">" + url.prettyUrl() + "</a></div>";
+ speed += url.prettyUrl() + "</a></div>";
}
return speed;
}
@@ -141,7 +143,7 @@ QString HomePage::searchEngines()
QString HomePage::recentlyClosedTabs()
{
- QString closedtabs = "engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines engines closed";
+ QString closedtabs = "<h2>Recently closed tabs</h2>";
return closedtabs;
}