diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-05-07 09:19:08 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-05-07 09:19:08 (GMT) |
commit | 2dd59db4ae815e2e6e487e4c0078d3dc495e95f0 (patch) | |
tree | ccc8110e80071e743f5c536e4910886d2feef345 /Swiften/Roster/GroupRosterItem.h | |
parent | 5409f27bbc3b32a65b2feed3259b1cc15da888a3 (diff) | |
download | swift-contrib-2dd59db4ae815e2e6e487e4c0078d3dc495e95f0.zip swift-contrib-2dd59db4ae815e2e6e487e4c0078d3dc495e95f0.tar.bz2 |
Sort the roster
Diffstat (limited to 'Swiften/Roster/GroupRosterItem.h')
-rw-r--r-- | Swiften/Roster/GroupRosterItem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/Roster/GroupRosterItem.h b/Swiften/Roster/GroupRosterItem.h index 5e16b2b..0d230e2 100644 --- a/Swiften/Roster/GroupRosterItem.h +++ b/Swiften/Roster/GroupRosterItem.h @@ -27,7 +27,8 @@ class GroupRosterItem : public RosterItem { static bool itemLessThan(const RosterItem* left, const RosterItem* right); private: void handleChildrenChanged(GroupRosterItem* group); - void sortDisplayed(); + void handleDataChanged(RosterItem* item); + bool sortDisplayed(); String name_; std::vector<RosterItem*> children_; std::vector<RosterItem*> displayedChildren_; |