summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-06-18 16:56:21 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-06-18 16:56:21 (GMT)
commit8e517721c88f22774224766dba4105fcb723fa91 (patch)
tree5433d13723b5865321a26e8655ba2ed881002107 /Swift/QtUI/QtChatTabs.h
parentab5fcc8ad6447a4b3578eb84c1ec3a975ec62d4c (diff)
downloadswift-8e517721c88f22774224766dba4105fcb723fa91.zip
swift-8e517721c88f22774224766dba4105fcb723fa91.tar.bz2
It should be impossible to lose tabs now.
You can still have an empty tabset, though.
Diffstat (limited to 'Swift/QtUI/QtChatTabs.h')
-rw-r--r--Swift/QtUI/QtChatTabs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/QtUI/QtChatTabs.h b/Swift/QtUI/QtChatTabs.h
index 7534c5a..97967c9 100644
--- a/Swift/QtUI/QtChatTabs.h
+++ b/Swift/QtUI/QtChatTabs.h
@@ -11,6 +11,9 @@ namespace Swift {
QtChatTabs();
void addTab(QtTabbable* tab);
+ protected slots:
+ void closeEvent(QCloseEvent* event);
+
private slots:
void handleTabClosing();
void handleTabTitleUpdated();