diff options
| author | Kevin Smith <git@kismith.co.uk> | 2009-11-26 09:47:08 (GMT) |
|---|---|---|
| committer | Kevin Smith <git@kismith.co.uk> | 2009-11-26 09:47:08 (GMT) |
| commit | 7b1df614ebfdbdb7d12c1d5618a74b8cdc308133 (patch) | |
| tree | 22e661f79ce1ce01321a2534d75c8cda162814b1 /Swift/QtUI/QtChatTabs.h | |
| parent | 5498152b4c9537742019dd45db72c88d7e3dc70c (diff) | |
| download | swift-7b1df614ebfdbdb7d12c1d5618a74b8cdc308133.zip swift-7b1df614ebfdbdb7d12c1d5618a74b8cdc308133.tar.bz2 | |
Make sure window title's update on tab close.
This is a speculative fix for a problem that I couldn't reproduce but was hitting Steve reproducably. This should ensure that whenever a tab is closed, it'll cause the title to be updated.
Diffstat (limited to 'Swift/QtUI/QtChatTabs.h')
| -rw-r--r-- | Swift/QtUI/QtChatTabs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/QtChatTabs.h b/Swift/QtUI/QtChatTabs.h index feb8ebc..c51b88d 100644 --- a/Swift/QtUI/QtChatTabs.h +++ b/Swift/QtUI/QtChatTabs.h @@ -1,34 +1,35 @@ #pragma once #include "QtTabbable.h" #include <QWidget> #include <QRect> class QTabWidget; namespace Swift { class QtChatTabs : public QWidget { Q_OBJECT public: QtChatTabs(); void addTab(QtTabbable* tab); void minimise(); signals: void geometryChanged(); protected slots: void closeEvent(QCloseEvent* event); void resizeEvent(QResizeEvent* event); void moveEvent(QMoveEvent* event); private slots: void handleTabClosing(); void handleTabTitleUpdated(); + void handleTabTitleUpdated(QWidget* widget); void handleTabCloseRequested(int index); void handleWidgetShown(); void handleWantsToActivate(); private: QTabWidget* tabs_; }; } |
Swift