summaryrefslogtreecommitdiff
path: root/src/webview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview.h')
-rw-r--r--src/webview.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/webview.h b/src/webview.h
index 2cebfb2d..0a46f1e5 100644
--- a/src/webview.h
+++ b/src/webview.h
@@ -92,13 +92,12 @@ class WebView : public QWebView
public:
WebView(QWidget *parent = 0);
- WebPage *webPage() const { return m_page; }
KActionCollection* webActions();
-
- void loadUrl(const KUrl &url);
- KUrl url() const;
+ // inline
+ WebPage *webPage() const { return m_page; }
+ KUrl url() const { return KUrl(QWebView::url()); }
QString lastStatusBarText() const { return m_statusBarText; }
int progress() const { return m_progress; }
@@ -133,7 +132,6 @@ private:
int m_progress;
QString m_statusBarText;
- KUrl m_initialUrl;
};
#endif