diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-05-31 11:31:59 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-05-31 11:31:59 +0200 |
commit | 010587f612ae2a4c5fe91dbf75bfdcab2480a83e (patch) | |
tree | 53da5e23697a936dd5d45410f45d7a35cc8fcb28 /src | |
parent | Merge commit 'refs/merge-requests/2282' of git://gitorious.org/rekonq/mainlin... (diff) | |
download | rekonq-010587f612ae2a4c5fe91dbf75bfdcab2480a83e.tar.xz |
Update urlbar progress
Diffstat (limited to 'src')
-rw-r--r-- | src/urlbar/urlbar.cpp | 2 | ||||
-rw-r--r-- | src/webtab.cpp | 1 | ||||
-rw-r--r-- | src/webtab.h | 3 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index 9edf7c6b..b297df1c 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -101,6 +101,8 @@ UrlBar::UrlBar(QWidget *parent) _tab = qobject_cast<WebTab *>(parent); + connect(_tab, SIGNAL(loadProgressing()), this, SLOT(update())); + connect(_tab->view(), SIGNAL(urlChanged(const QUrl &)), this, SLOT(setQUrl(const QUrl &))); connect(_tab->view(), SIGNAL(loadFinished(bool)), this, SLOT(loadFinished())); connect(_tab->view(), SIGNAL(loadStarted()), this, SLOT(clearRightIcons())); diff --git a/src/webtab.cpp b/src/webtab.cpp index 47780a44..9e168d36 100644 --- a/src/webtab.cpp +++ b/src/webtab.cpp @@ -124,6 +124,7 @@ KUrl WebTab::url() void WebTab::updateProgress(int p) { m_progress = p; + emit loadProgressing(); } diff --git a/src/webtab.h b/src/webtab.h index bc07a3e9..e34bbccf 100644 --- a/src/webtab.h +++ b/src/webtab.h @@ -67,6 +67,9 @@ private slots: void createWalletBar(const QString &, const QUrl &); void showRSSInfo(QPoint pos); +signals: + void loadProgressing(); + private: WebView *_view; |