added display of friend status in FS

This commit is contained in:
csoler 2022-10-19 17:24:58 +02:00
parent efa00b2802
commit 5847b08766
4 changed files with 155 additions and 4 deletions

View file

@ -22,6 +22,8 @@
#include <QGraphicsScene>
#include "retroshare/rsevents.h"
#include "retroshare-gui/mainpage.h"
#include "ui_FriendServerControl.h"
@ -39,11 +41,16 @@ protected slots:
void onOnionPortEdit(int);
void onNbFriendsToRequestsChanged(int n);
void checkServerAddress();
void onAutoAddFriends(bool b);
private:
void updateContactsStatus();
void updateFriendServerStatusIcon(bool ok);
void handleEvent_main_thread(std::shared_ptr<const RsEvent> event);
QTimer *mConnectionCheckTimer;
QMovie *mCheckingServerMovie;
bool mCurrentlyCheckingServerAddress;
RsEventsHandlerId_t mEventHandlerId;
};