summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-10-15 20:26:00 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-10-15 20:26:00 (GMT)
commit87775c50a1c9a223f554c37e549ea8a2b03c9a89 (patch)
tree030ca4b9919f48cadaf1a7822d1f3e8917af119b /Swift/QtUI/QtChatTabs.h
parent47f27c607a7fb04495d402c6059664250d452a81 (diff)
downloadswift-87775c50a1c9a223f554c37e549ea8a2b03c9a89.zip
swift-87775c50a1c9a223f554c37e549ea8a2b03c9a89.tar.bz2
Save the geometry of the chat and roster windows.
Diffstat (limited to 'Swift/QtUI/QtChatTabs.h')
-rw-r--r--Swift/QtUI/QtChatTabs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Swift/QtUI/QtChatTabs.h b/Swift/QtUI/QtChatTabs.h
index 87b8b10..feb8ebc 100644
--- a/Swift/QtUI/QtChatTabs.h
+++ b/Swift/QtUI/QtChatTabs.h
@@ -2,6 +2,8 @@
#include "QtTabbable.h"
#include <QWidget>
+#include <QRect>
+
class QTabWidget;
namespace Swift {
@@ -11,9 +13,13 @@ namespace Swift {
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();