mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-11 07:40:21 -04:00
added import/export friendlist
This commit is contained in:
parent
4d7f7331fc
commit
36349814a6
3 changed files with 397 additions and 3 deletions
|
@ -134,6 +134,13 @@ private:
|
|||
QTreeWidgetItem *getCurrentPeer() const;
|
||||
void getSslIdsFromItem(QTreeWidgetItem *item, std::list<RsPeerId> &sslIds);
|
||||
|
||||
bool getOrCreateGroup(const std::string &name, const uint &flag, std::string &id);
|
||||
bool getGroupIdByName(const std::string &name, std::string &id);
|
||||
|
||||
bool importExportFriendlistFileDialog(QString &fileName, bool import);
|
||||
bool exportFriendlist(QString &fileName);
|
||||
bool importFriendlist(QString &fileName, bool &errorPeers, bool &errorGroups);
|
||||
|
||||
private slots:
|
||||
void groupsChanged();
|
||||
void insertPeers();
|
||||
|
@ -165,6 +172,9 @@ private slots:
|
|||
void editGroup();
|
||||
void removeGroup();
|
||||
|
||||
void exportFriendlistClicked();
|
||||
void importFriendlistClicked();
|
||||
|
||||
// void inviteToLobby();
|
||||
// void createchatlobby();
|
||||
// void unsubscribeToLobby();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue