summaryrefslogtreecommitdiff
path: root/src/webview.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-04-29 01:24:56 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-04-29 01:24:56 +0200
commit2af233a6d06eb15034ab03c376e126031495df53 (patch)
treebb1196649b575e6514939b76dac75e7b5d95430e /src/webview.h
parentRemoved WebView loadUrl usage (diff)
downloadrekonq-2af233a6d06eb15034ab03c376e126031495df53.tar.xz
Removed loadUrl method from WebView
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