summaryrefslogtreecommitdiff
path: root/src/newtabpage.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-04-22 01:42:58 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-04-22 01:42:58 +0200
commit1d2e4946e7650466a21acc6d2abb19740a63d431 (patch)
tree411406e7a02e77492a215904316b64f3fa55b73a /src/newtabpage.h
parentFix embed kpart bahevior. Try embedding just when there is a ReadOnlyPart (diff)
downloadrekonq-1d2e4946e7650466a21acc6d2abb19740a63d431.tar.xz
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"
Diffstat (limited to 'src/newtabpage.h')
-rw-r--r--src/newtabpage.h8
1 files changed, 5 insertions, 3 deletions
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;