summaryrefslogtreecommitdiff
path: root/src/websnap.h
diff options
context:
space:
mode:
authormegabigbug <megabigbug@arrakis.(none)>2010-06-27 11:40:53 +0200
committermegabigbug <megabigbug@arrakis.(none)>2010-06-27 11:40:53 +0200
commit627277453810c68f66ac934326df1bea3eed514d (patch)
tree992d2f2734d0a160929e2f25e6b783bc2ad296c9 /src/websnap.h
parentimprove previews: compute preview when webview is deleted => instant preview ... (diff)
downloadrekonq-627277453810c68f66ac934326df1bea3eed514d.tar.xz
add comments
Diffstat (limited to 'src/websnap.h')
-rw-r--r--src/websnap.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/websnap.h b/src/websnap.h
index 41db8c71..3baa01fd 100644
--- a/src/websnap.h
+++ b/src/websnap.h
@@ -90,20 +90,10 @@ public:
*/
static QPixmap renderPagePreview(const QWebPage &page, int w = WIDTH, int h = HEIGHT);
- /**
- * Snaps a pixmap of size w * h from a visible page
- *
- * @param page the page to snap
- * @param w the image width
- * @param h the image height
- *
- * @return the pixmap snapped from the page
- */
- static QPixmap renderVisiblePagePreview(const QWebPage &page, int w = WIDTH, int h = HEIGHT);
-
+ // static QPixmap renderVisiblePagePreview(const QWebPage &page, int w = WIDTH, int h = HEIGHT); TODO: try to make this method work => more previews for the urlbar
/**
- * Snaps a pixmap of size w * h from a visible page
+ * Snaps a pixmap of size w * h from a page of a tab that is currently closing
*
* @param page the page to snap
* @param w the image width