From 88a5c9816cd6a07240a4a94820e0a809aecd074a Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 16 Feb 2011 01:47:08 +0100 Subject: 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...) --- src/mainview.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/mainview.h') 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 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 -- cgit v1.2.1