summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-07-24 02:52:32 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-07-24 02:52:32 +0200
commit087924515fa1a0885b36859123c86ed9a4ff97c3 (patch)
tree73e95c19098e039064fc767992109e667af9ca30 /src/webview.cpp
parentcleaning code a bit... (diff)
downloadrekonq-087924515fa1a0885b36859123c86ed9a4ff97c3.tar.xz
cleaning web* classes and fixing newWindow and createWindow WebPage
slots
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 4e308806..f73c38b5 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -73,6 +73,12 @@ WebView::WebView(QWidget* parent)
}
+WebPage *WebView::page() const
+{
+ return qobject_cast<WebPage *>(QWebView::page());
+}
+
+
KUrl WebView::url() const
{
return KUrl(QWebView::url());