mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-04 20:59:05 -04:00
renaming strings and changed icons for Network/People
added Peer def for Identities. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7862 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e5203e1f6a
commit
b155c36170
9 changed files with 19 additions and 20 deletions
|
@ -39,6 +39,12 @@ const QString PeerDefs::nameWithLocation(const RsIdentityDetails &details)
|
|||
{
|
||||
return QString::fromUtf8(details.mNickname.c_str()) + " (" + QString::fromStdString(details.mId.toStdString()) + ")";
|
||||
}
|
||||
|
||||
const QString PeerDefs::nameWithId(const RsIdentityDetails &details)
|
||||
{
|
||||
return QString::fromUtf8(details.mNickname.c_str()) + " <" + QString::fromUtf8(details.mNickname.c_str()) + "@" + QString::fromStdString(details.mId.toStdString()) + ">";
|
||||
}
|
||||
|
||||
const QString PeerDefs::rsid(const std::string &name, const RsPgpId &id)
|
||||
{
|
||||
if (name.empty()) {
|
||||
|
|
|
@ -33,6 +33,7 @@ class PeerDefs
|
|||
public:
|
||||
static const QString nameWithLocation(const RsPeerDetails &details);
|
||||
static const QString nameWithLocation(const RsIdentityDetails &details);
|
||||
static const QString nameWithId(const RsIdentityDetails &details);
|
||||
|
||||
static const QString rsid(const RsPeerDetails &details);
|
||||
static const QString rsid(const std::string &name, const RsPeerId &id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue