summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-04-16 11:25:42 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-04-16 11:25:42 (GMT)
commit1e42aa0003876f5416f723d535ca27e7b2f6dc68 (patch)
treee4cdc3a0c7610f9661f208ddb24086d8090b4303 /Swift/QtUI/ChatList/ChatListMUCItem.h
parent76e1ad3b1290562ad0ebb4ed430eb1f2566645f0 (diff)
downloadswift-1e42aa0003876f5416f723d535ca27e7b2f6dc68.zip
swift-1e42aa0003876f5416f723d535ca27e7b2f6dc68.tar.bz2
Prettify the ChatList a bit.
Resolves: #322
Diffstat (limited to 'Swift/QtUI/ChatList/ChatListMUCItem.h')
-rw-r--r--Swift/QtUI/ChatList/ChatListMUCItem.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Swift/QtUI/ChatList/ChatListMUCItem.h b/Swift/QtUI/ChatList/ChatListMUCItem.h
index 58abb55..4170c6f 100644
--- a/Swift/QtUI/ChatList/ChatListMUCItem.h
+++ b/Swift/QtUI/ChatList/ChatListMUCItem.h
@@ -15,6 +15,12 @@
#include "Swift/QtUI/ChatList/ChatListItem.h"
namespace Swift {
+ enum MUCItemRoles {
+ DetailTextRole = Qt::UserRole/*,
+ AvatarRole = Qt::UserRole + 1,
+ PresenceIconRole = Qt::UserRole + 2,
+ StatusShowTypeRole = Qt::UserRole + 3*/
+ };
class ChatListMUCItem : public ChatListItem {
public:
ChatListMUCItem(boost::shared_ptr<MUCBookmark> bookmark, ChatListGroupItem* parent);