summaryrefslogtreecommitdiff
path: root/src/webtab.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-09-29 22:11:37 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-09-29 22:11:37 +0200
commit5f0e4fe5fabd7ca49cb7d6cb54dc6e903fffbf74 (patch)
tree52c3f6c744d1b71f8bd65ced265b4ce7633fabd0 /src/webtab.h
parentsearch --> opensearch dir (diff)
downloadrekonq-5f0e4fe5fabd7ca49cb7d6cb54dc6e903fffbf74.tar.xz
Clean up urlbar use. This fix an urlbar bug opening plugins
in next tabs and remove some Application::instance() calls from the Web* classes.
Diffstat (limited to 'src/webtab.h')
-rw-r--r--src/webtab.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/webtab.h b/src/webtab.h
index a9129d0b..d9213983 100644
--- a/src/webtab.h
+++ b/src/webtab.h
@@ -39,6 +39,7 @@
#include <QtGui/QWidget>
// Forward Declarations
+class UrlBar;
class PreviewSelectorBar;
class WalletBar;
@@ -52,8 +53,9 @@ public:
~WebTab();
inline WebView *view() { return _view; }
+ UrlBar *urlBar() { return _bar; }
inline WebPage *page() { return view()->page(); }
- inline int progress() { return m_progress; }
+ inline int progress() { return _progress; }
KUrl url();
void createPreviewSelectorBar(int index);
@@ -72,8 +74,9 @@ signals:
private:
WebView *_view;
-
- int m_progress;
+ UrlBar *_bar;
+
+ int _progress;
QWeakPointer<WalletBar> _walletBar;
QWeakPointer<PreviewSelectorBar> _previewSelectorBar;