summaryrefslogtreecommitdiff
path: root/src/websnap.cpp
diff options
context:
space:
mode:
authormatgic78 <matgic78@gmail.com>2009-10-14 16:45:18 +0200
committermatgic78 <matgic78@gmail.com>2009-10-14 16:45:18 +0200
commit92a5daa103a54c2c4253d45cc882da1990bfbd03 (patch)
tree3f021abbc1843b9415b1d573870994da29ceed63 /src/websnap.cpp
parentHUGE COMMIT (diff)
downloadrekonq-92a5daa103a54c2c4253d45cc882da1990bfbd03.tar.xz
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)
Diffstat (limited to 'src/websnap.cpp')
-rw-r--r--src/websnap.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/websnap.cpp b/src/websnap.cpp
index 9e7108b0..83cfe88b 100644
--- a/src/websnap.cpp
+++ b/src/websnap.cpp
@@ -130,6 +130,20 @@ void WebSnap::saveResult(bool ok)
}
+
+QString WebSnap::snapTitle()
+{
+ return m_page.mainFrame()->title();
+ return QString("");
+}
+
+
+QUrl WebSnap::snapUrl()
+{
+ return m_url;
+}
+
+
QPixmap WebSnap::previewImage()
{
return m_image;