diff options
author | Bernhard Beschow <bbeschow@cs.tu-berlin.de> | 2009-12-13 23:31:22 +0100 |
---|---|---|
committer | Bernhard Beschow <bbeschow@cs.tu-berlin.de> | 2009-12-14 03:10:27 +0100 |
commit | c12d48542d1c153020e45d90efde078a220067ea (patch) | |
tree | 42303c55d0d66fd5e940bbcfc1e7d2309b91bed2 /src/webview.h | |
parent | move KWallet integration into WebPage (diff) | |
download | rekonq-c12d48542d1c153020e45d90efde078a220067ea.tar.xz |
clean up creation of WebView:
* remove pointer to messageBar in WebView, don't even hand messageBar over to WebView constructor
* add WalletWidget to messageBar outside of WebView constructor
* hide the walletBar, but not the whole messageBar
Diffstat (limited to 'src/webview.h')
-rw-r--r-- | src/webview.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/webview.h b/src/webview.h index 18ea66ad..2b3b97a4 100644 --- a/src/webview.h +++ b/src/webview.h @@ -37,7 +37,6 @@ // Forward Declarations class WebPage; -class WalletWidget; class WebView : public KWebView @@ -45,7 +44,7 @@ class WebView : public KWebView Q_OBJECT public: - explicit WebView(QWidget *parent = 0, QWidget *messageWidget = 0); + explicit WebView(QWidget *parent = 0); ~WebView(); WebPage *page(); @@ -75,8 +74,7 @@ private slots: void loadInNewTab(const KUrl &url); private: - WebPage *m_page; - QWidget *m_messageWidget; + WebPage *const m_page; int m_progress; QString m_statusBarText; QPoint m_mousePos; |