mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 22:21:09 -04:00
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:
parent
2bacb70914
commit
212e5c28f2
5 changed files with 152 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue