From 1d2e4946e7650466a21acc6d2abb19740a63d431 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Thu, 22 Apr 2010 01:42:58 +0200 Subject: Fix, improve and clean WebSnap API. This led me to a little polish in the classes using the WebSnap facilities and to change the mechanism the NewTabPage retrieves images from the "cache" --- src/newtabpage.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/newtabpage.h') diff --git a/src/newtabpage.h b/src/newtabpage.h index 6604e4df..3b63942e 100644 --- a/src/newtabpage.h +++ b/src/newtabpage.h @@ -58,9 +58,12 @@ public: * the corresponding part of the new tab page */ void generate(const KUrl &url = KUrl("about:home")); - - void snapFinished(int index, const KUrl &url, const QString &title); + /** + * This method updates thumbs, removing loading previews + * and providing a real picture + */ + void snapFinished(); private: // these are the "high-level" functions to build the new tab page. @@ -110,7 +113,6 @@ private: } QString checkTitle(const QString &title); - private: QString m_html; -- cgit v1.2.1