mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
Fixed shown name in chat list.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4810 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
df741f7c64
commit
1ec716175b
8 changed files with 36 additions and 22 deletions
|
@ -48,8 +48,8 @@ public:
|
|||
public:
|
||||
explicit ChatWidget(QWidget *parent = 0);
|
||||
~ChatWidget();
|
||||
|
||||
void init(const std::string &peerId, const QString &peerName);
|
||||
|
||||
void init(const std::string &peerId, const QString &title);
|
||||
|
||||
bool hasNewMessages() { return newMessages; }
|
||||
bool isTyping() { return typing; }
|
||||
|
@ -64,8 +64,9 @@ public:
|
|||
void addToolsAction(QAction *action);
|
||||
|
||||
std::string getPeerId() { return peerId; }
|
||||
QString getPeerName() { return peerName; }
|
||||
QString getTitle() { return title; }
|
||||
int getPeerStatus() { return peerStatus; }
|
||||
void setName(const QString &name);
|
||||
|
||||
bool setStyle();
|
||||
const RSStyle *getStyle() { return &style; }
|
||||
|
@ -120,7 +121,8 @@ private:
|
|||
void processSettings(bool load);
|
||||
|
||||
std::string peerId;
|
||||
QString peerName;
|
||||
QString title;
|
||||
QString name;
|
||||
|
||||
QColor currentColor;
|
||||
QFont currentFont;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue