diff options
Diffstat (limited to 'Swift/QtUI/QtChatTabs.h')
-rw-r--r-- | Swift/QtUI/QtChatTabs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swift/QtUI/QtChatTabs.h b/Swift/QtUI/QtChatTabs.h index 6da166d..39a3e44 100644 --- a/Swift/QtUI/QtChatTabs.h +++ b/Swift/QtUI/QtChatTabs.h @@ -1,7 +1,7 @@ #pragma once +#include "QtTabbable.h" #include <QWidget> - class QTabWidget; namespace Swift { @@ -9,11 +9,11 @@ namespace Swift { Q_OBJECT public: QtChatTabs(); - void addTab(QWidget* tab); + void addTab(QtTabbable* tab); private slots: void tabClosing(); - + void tabTitleUpdated(); private: QTabWidget* tabs_; }; |