From 92a5daa103a54c2c4253d45cc882da1990bfbd03 Mon Sep 17 00:00:00 2001 From: matgic78 Date: Wed, 14 Oct 2009 16:45:18 +0200 Subject: favorites management -right click menu to set the preview url by selecting one of the 15 last history entries -abitlity to remove previews and manage empty previews (show a toolbutton to set the url) -contextmenu->add to favorites now adds preview in an empty space when there is one -modified the loop used in HomePage::lastVisited because I encountered an infinite loop with it. (and because it is simpler this way) --- src/websnap.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/websnap.h') diff --git a/src/websnap.h b/src/websnap.h index 9a41f65d..53686677 100644 --- a/src/websnap.h +++ b/src/websnap.h @@ -52,6 +52,9 @@ public: QPixmap previewImage(); static QPixmap renderPreview(const QWebPage &page, int w, int h); + + QString snapTitle(); + QUrl snapUrl(); signals: void finished(); @@ -65,6 +68,7 @@ private: QPixmap m_image; QUrl m_url; + QString m_snapTitle; }; #endif // WEB_SNAP_H -- cgit v1.2.1