diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-03-29 18:54:23 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-03-29 18:54:23 (GMT) |
commit | d2b07202f6b71b0601d032dbf93778d0a656e808 (patch) | |
tree | 975f94343b6ece69406d30cafee449093ecfc768 /Swift/QtUI/ChatList/ChatListMUCItem.h | |
parent | cf664dd8baa1accc355ec4a727899a9f68f68ed5 (diff) | |
download | swift-contrib-d2b07202f6b71b0601d032dbf93778d0a656e808.zip swift-contrib-d2b07202f6b71b0601d032dbf93778d0a656e808.tar.bz2 |
Populate the chats list with muc bookmarks
Diffstat (limited to 'Swift/QtUI/ChatList/ChatListMUCItem.h')
-rw-r--r-- | Swift/QtUI/ChatList/ChatListMUCItem.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swift/QtUI/ChatList/ChatListMUCItem.h b/Swift/QtUI/ChatList/ChatListMUCItem.h index dd3f185..b973ac2 100644 --- a/Swift/QtUI/ChatList/ChatListMUCItem.h +++ b/Swift/QtUI/ChatList/ChatListMUCItem.h @@ -11,9 +11,9 @@ namespace Swift { class ChatListMUCItem : public ChatListItem { public: - ChatListMUCItem(boost::shared_ptr<MUCBookmark> bookmark, ChatListGroupItem* parent) : ChatListItem(parent), bookmark_(bookmark) {}; - boost::shared_ptr<MUCBookmark> getBookmark() {return bookmark_;}; - QVariant data(int role) { return QVariant(); }; + ChatListMUCItem(boost::shared_ptr<MUCBookmark> bookmark, ChatListGroupItem* parent); + boost::shared_ptr<MUCBookmark> getBookmark(); + QVariant data(int role); private: boost::shared_ptr<MUCBookmark> bookmark_; QList<ChatListItem*> items_; |