summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-07-10 12:09:26 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-07-10 12:09:26 (GMT)
commit72cd949dd179f0781c156544b87cb6d1d5c34862 (patch)
tree2a30af0bbef092638d62e4f9163cf26a351fc5ac /Swift/QtUI/ChatList/QtChatListWindow.h
parent8cd2cc3660a4af19ae74b7271571e7e2c3a3e35c (diff)
downloadswift-72cd949dd179f0781c156544b87cb6d1d5c34862.zip
swift-72cd949dd179f0781c156544b87cb6d1d5c34862.tar.bz2
Update the Chats tab for unread messages
Diffstat (limited to 'Swift/QtUI/ChatList/QtChatListWindow.h')
-rw-r--r--Swift/QtUI/ChatList/QtChatListWindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/QtUI/ChatList/QtChatListWindow.h b/Swift/QtUI/ChatList/QtChatListWindow.h
index 67f2c41..8775c3e 100644
--- a/Swift/QtUI/ChatList/QtChatListWindow.h
+++ b/Swift/QtUI/ChatList/QtChatListWindow.h
@@ -26,6 +26,9 @@ namespace Swift {
void setRecents(const std::list<ChatListWindow::Chat>& recents);
void setUnreadCount(int unread);
void clearBookmarks();
+
+ signals:
+ void onCountUpdated(int count);
private slots:
void handleItemActivated(const QModelIndex&);
void handleAddBookmark();