summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
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);
}