1
0
Fork 0
forked from blue/squawk

Roster improovements

This commit is contained in:
Blue 2019-04-05 18:12:59 +03:00
parent 7b30228249
commit 76f9ece344
7 changed files with 265 additions and 18 deletions

View file

@ -9,6 +9,7 @@
#include "accounts.h"
#include "item.h"
#include "account.h"
#include "contact.h"
namespace Models
{
@ -40,9 +41,8 @@ public:
private:
Item* root;
std::map<QString, Account*> accounts;
std::map<QString, Item*> groups;
std::map<QString, Item*> contacts;
std::map<ElId, Item*> elements;
std::map<ElId, Item*> groups;
std::multimap<ElId, Contact*> contacts;
private slots:
void onAccountDataChanged(const QModelIndex& tl, const QModelIndex& br, const QVector<int>& roles);