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