summaryrefslogtreecommitdiff
path: root/src/webview.h
diff options
context:
space:
mode:
authorBernhard Beschow <bbeschow@cs.tu-berlin.de>2009-12-13 23:31:22 +0100
committerBernhard Beschow <bbeschow@cs.tu-berlin.de>2009-12-14 03:10:27 +0100
commitc12d48542d1c153020e45d90efde078a220067ea (patch)
tree42303c55d0d66fd5e940bbcfc1e7d2309b91bed2 /src/webview.h
parentmove KWallet integration into WebPage (diff)
downloadrekonq-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.h6
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;