summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-07-15 23:50:12 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-07-15 23:50:12 +0200
commit962f44708ea40fe9a00fed17d8b2afba0deb2856 (patch)
tree08f78ebd7ae8a6507b94f5bc716c99fadd1f25be /src/webview.cpp
parentGoing back to simpler QtWebKit. (diff)
downloadrekonq-962f44708ea40fe9a00fed17d8b2afba0deb2856.tar.xz
Some backports from KdeWebKit and rekonq 0.1 implementation
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 114a1be4..43da9fb8 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -44,9 +44,6 @@
#include <KDebug>
#include <KToolInvocation>
-#include <kdewebkit/kwebpage.h>
-#include <kdewebkit/kwebview.h>
-
// Qt Includes
#include <QtGui/QContextMenuEvent>
#include <QtGui/QWheelEvent>
@@ -79,12 +76,6 @@ WebView::WebView(QWidget* parent)
}
-// void WebView::setNewPage()
-// {
-// setPage(new WebPage(this));
-// }
-
-
KUrl WebView::url() const
{
return KUrl(QWebView::url());
@@ -103,12 +94,6 @@ int WebView::progress() const
}
-// void WebView::load(const KUrl &url)
-// {
-// QWebView::load(url);
-// }
-
-
void WebView::setProgress(int progress)
{
m_progress = progress;
@@ -201,8 +186,6 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
{
menu.addSeparator();
QAction *addBookmarkAction = Application::bookmarkProvider()->actionByName("rekonq_add_bookmark");
-// addBookmarkAction->setData(result.linkUrl());
-// addBookmarkAction->setText(i18n("&Bookmark This Link"));
menu.addAction(addBookmarkAction);
}