Added user notify for chat lobbies.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7752 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-12-12 23:50:35 +00:00
parent 2bacb70914
commit 212e5c28f2
5 changed files with 152 additions and 0 deletions

View file

@ -17,6 +17,7 @@ struct ChatLobbyInfoStruct
QIcon default_icon ;
ChatLobbyDialog *dialog ;
time_t last_typing_event ;
uint unread_count;
};
class ChatLobbyWidget : public RsAutoUpdatePage
@ -34,11 +35,18 @@ public:
virtual QString pageName() const { return tr("Chat Lobbies") ; } //MainPage
virtual QString helpText() const { return ""; } //MainPage
virtual UserNotify *getUserNotify(QObject *parent);
virtual void updateDisplay();
void setCurrentChatPage(ChatLobbyDialog *) ; // used by ChatLobbyDialog to raise.
void addChatPage(ChatLobbyDialog *) ;
uint unreadCount();
signals:
void unreadCountChanged(uint unreadCount);
protected slots:
void lobbyChanged();
void lobbyTreeWidgetCustomPopupMenu(QPoint);