summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 78f0e734..61eb051a 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -454,32 +454,6 @@ void WebView::loadFinished()
}
-void WebView::loadUrl(const KUrl &url)
-{
- m_initialUrl = url;
-
- if (m_initialUrl.isRelative())
- {
- QString fn = m_initialUrl.url(KUrl::RemoveTrailingSlash);
- m_initialUrl.setUrl("//" + fn);
- m_initialUrl.setScheme("http");
- }
-
- load(m_initialUrl);
-}
-
-
-KUrl WebView::url() const
-{
- KUrl url = QWebView::url();
- if (!url.isEmpty())
- {
- return url;
- }
- return m_initialUrl;
-}
-
-
void WebView::mousePressEvent(QMouseEvent *event)
{
m_page->m_pressedButtons = event->buttons();