mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-16 00:53:58 -05:00
simplification of the chat interface to libretroshare using a single unified class for chat IDs. Used a common chat widget for all chats including broadcast. Opens the way to having plugins send/recv chat messages. Patch from Electron.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7800 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
535fe875e4
commit
13d7866171
53 changed files with 1180 additions and 2280 deletions
|
|
@ -22,6 +22,7 @@
|
|||
#ifndef CHATUSERNOTIFY_H
|
||||
#define CHATUSERNOTIFY_H
|
||||
|
||||
#include <retroshare/rsmsgs.h>
|
||||
#include "gui/common/UserNotify.h"
|
||||
|
||||
class ChatUserNotify : public UserNotify
|
||||
|
|
@ -34,13 +35,15 @@ public:
|
|||
virtual bool hasSetting(QString *name, QString *group);
|
||||
|
||||
private slots:
|
||||
void privateChatChanged(int list, int type);
|
||||
void chatMessageReceived(ChatMessage msg);
|
||||
|
||||
private:
|
||||
virtual QIcon getIcon();
|
||||
virtual QIcon getMainIcon(bool hasNew);
|
||||
virtual unsigned int getNewCount();
|
||||
virtual void iconClicked();
|
||||
|
||||
std::map<ChatId, int> mWaitingChats;
|
||||
};
|
||||
|
||||
#endif // CHATUSERNOTIFY_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue