summaryrefslogtreecommitdiff
path: root/src/mainview.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-02-16 01:47:08 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-02-17 17:16:57 +0100
commit88a5c9816cd6a07240a4a94820e0a809aecd074a (patch)
tree73bb9984dc8543115ff3a998ea2fe7bcfc477b50 /src/mainview.h
parentAdd opensearch description file for bing and yahoo suggestions (diff)
downloadrekonq-88a5c9816cd6a07240a4a94820e0a809aecd074a.tar.xz
Cleans up "tab switch" management and expecially the use of signals
on that. This, expecially to avoid double calls on functions to manage tab switching and info updating. Reviewed by NOBODY (oops...)
Diffstat (limited to 'src/mainview.h')
-rw-r--r--src/mainview.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainview.h b/src/mainview.h
index 6af4012c..749fb7ea 100644
--- a/src/mainview.h
+++ b/src/mainview.h
@@ -97,7 +97,11 @@ public:
inline QList<HistoryItem> recentlyClosedTabs() { return m_recentlyClosedTabs; }
Q_SIGNALS:
- // tab widget signals
+ // tabs change when:
+ // - current tab change
+ // - one tab is closed
+ // - one tab is added
+ // - one tab is updated (eg: changes url)
void tabsChanged();
// current tab signals