mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-01 04:46:47 -05:00
added control over received peers from FS
This commit is contained in:
parent
5847b08766
commit
24ad687c7f
3 changed files with 92 additions and 20 deletions
|
|
@ -42,8 +42,11 @@ protected slots:
|
|||
void onNbFriendsToRequestsChanged(int n);
|
||||
void checkServerAddress();
|
||||
void onAutoAddFriends(bool b);
|
||||
void launchStatusContextMenu(QPoint p);
|
||||
void makeFriend();
|
||||
|
||||
private:
|
||||
RsPeerId getCurrentPeer();
|
||||
void updateContactsStatus();
|
||||
void updateFriendServerStatusIcon(bool ok);
|
||||
void handleEvent_main_thread(std::shared_ptr<const RsEvent> event);
|
||||
|
|
@ -52,5 +55,11 @@ private:
|
|||
QMovie *mCheckingServerMovie;
|
||||
bool mCurrentlyCheckingServerAddress;
|
||||
|
||||
RsEventsHandlerId_t mEventHandlerId;
|
||||
RsEventsHandlerId_t mEventHandlerId_fs;
|
||||
RsEventsHandlerId_t mEventHandlerId_peer;
|
||||
|
||||
QAction *makeFriend_ACT;
|
||||
QAction *unmakeFriend_ACT;
|
||||
QAction *removePeer_ACT;
|
||||
QAction *removePeerPermanently_ACT;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue