summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-06-15 21:31:15 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-06-15 21:31:15 (GMT)
commitaf53136d04a72b05efd8c51cfa5573f97e93c6cf (patch)
treef96f9f75dad886a919d4dce4aad0511db5babfb0 /Swift/QtUI/QtChatTabs.h
parent5f1d284169c89c30f061603a9f45ab753f4b8967 (diff)
downloadswift-contrib-af53136d04a72b05efd8c51cfa5573f97e93c6cf.zip
swift-contrib-af53136d04a72b05efd8c51cfa5573f97e93c6cf.tar.bz2
Moving towards allowing tabs to be closed. At the moment they'll then be lost to tabbing forever, though.
Diffstat (limited to 'Swift/QtUI/QtChatTabs.h')
-rw-r--r--Swift/QtUI/QtChatTabs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Swift/QtUI/QtChatTabs.h b/Swift/QtUI/QtChatTabs.h
index 39a3e44..37acc91 100644
--- a/Swift/QtUI/QtChatTabs.h
+++ b/Swift/QtUI/QtChatTabs.h
@@ -12,8 +12,9 @@ namespace Swift {
void addTab(QtTabbable* tab);
private slots:
- void tabClosing();
- void tabTitleUpdated();
+ void handleTabClosing();
+ void handleTabTitleUpdated();
+ void handleTabCloseRequested(int index);
private:
QTabWidget* tabs_;
};