diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-01-15 11:07:18 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-01-15 11:07:18 +0100 |
commit | 167c9c556147cc70ea0ccc8d1095903be52d4630 (patch) | |
tree | 0e46c42b36ee7bb3402001c3f7433b205f7ef674 /src/mainview.h | |
parent | only make labels for viewable elements (diff) | |
download | rekonq-167c9c556147cc70ea0ccc8d1095903be52d4630.tar.xz |
Rework on load/stop/reload action
Also clean up API, giving proper names to method
updateActions --> updateHistoryActions
browserTabLoading(bool) --> currentTabStateChanged()
...
also workaround problem that m_progress is (yet) 0 or 100 when load started
REVIEW:103651
Diffstat (limited to 'src/mainview.h')
-rw-r--r-- | src/mainview.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mainview.h b/src/mainview.h index 28185e48..f2ed7cba 100644 --- a/src/mainview.h +++ b/src/mainview.h @@ -113,13 +113,20 @@ Q_SIGNALS: void currentTitle(const QString &url); void showStatusBarMessage(const QString &message, Rekonq::Notify status = Rekonq::Info); void linkHovered(const QString &link); - void browserTabLoading(bool); void openPreviousInHistory(); void openNextInHistory(); void closeWindow(); void printRequested(QWebFrame *frame); + /** + * Current tab state changed: + * 1. tab is loading + * 2. tab finished loading + * 3. tab urlbar got focus + */ + void currentTabStateChanged(); + public Q_SLOTS: /** * Core browser slot. This create a new tab with a WebView inside |