diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-06-15 21:31:15 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-06-15 21:31:15 (GMT) |
commit | af53136d04a72b05efd8c51cfa5573f97e93c6cf (patch) | |
tree | f96f9f75dad886a919d4dce4aad0511db5babfb0 /Swift/QtUI/QtChatTabs.h | |
parent | 5f1d284169c89c30f061603a9f45ab753f4b8967 (diff) | |
download | swift-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.h | 5 |
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_; }; |