add updateFriendList from network

This commit is contained in:
xyz
2025-06-11 19:38:09 +08:00
parent 24536ca80f
commit e4ec73b510
8 changed files with 118 additions and 4 deletions

View File

@ -4,6 +4,7 @@
#include <qstandardpaths.h>
#include <QDir>
#include <QJsonObject>
//#include <QList>
#include "data.h"
#include "../network/netclient.h"
@ -101,8 +102,14 @@ namespace model
//
void resetMyself(std::shared_ptr<bite_im::GetUserInfoRsp> resp);
//通过网络获取好友列表
QList<UserInfo>* getFriendList();
void getFriendListAsync();
void resetFriendList(std::shared_ptr<bite_im::GetFriendListRsp> resp);
signals:
//自定义信号
void getMyselfDone();
void getFriendListDone();
};
} //end namespace model