|
|
@ -38,6 +38,7 @@ public: |
|
|
|
bool needHideCircles() const; |
|
|
|
bool needHideCircles() const; |
|
|
|
// If the contact positions have changed, need to redraw view
|
|
|
|
// If the contact positions have changed, need to redraw view
|
|
|
|
bool getPositionsChanged() const; |
|
|
|
bool getPositionsChanged() const; |
|
|
|
|
|
|
|
bool getGroupsOnTop() const; |
|
|
|
|
|
|
|
|
|
|
|
void addFriendListItem(IFriendListItem* item); |
|
|
|
void addFriendListItem(IFriendListItem* item); |
|
|
|
void removeFriendListItem(IFriendListItem* item); |
|
|
|
void removeFriendListItem(IFriendListItem* item); |
|
|
@ -69,11 +70,11 @@ private: |
|
|
|
|
|
|
|
|
|
|
|
bool byName = true; |
|
|
|
bool byName = true; |
|
|
|
bool hideCircles = false; |
|
|
|
bool hideCircles = false; |
|
|
|
bool groupsOnTop; |
|
|
|
bool groupsOnTop = true; |
|
|
|
bool positionsChanged; |
|
|
|
bool positionsChanged = false; |
|
|
|
bool needSort; |
|
|
|
bool needSort = false; |
|
|
|
QVector<IFriendListItemPtr> items; |
|
|
|
QVector<IFriendListItemPtr> items; |
|
|
|
// At startup, while the size of items is less than countContacts, the view will not be processed to improve performance
|
|
|
|
// At startup, while the size of items is less than countContacts, the view will not be processed to improve performance
|
|
|
|
int countContacts; |
|
|
|
int countContacts = 0; |
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|