mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-15 17:40:35 -04:00
Added read/unread state to channel service (copied from forum service).
Added new and missing tests of the RsItems. Added new notifier on channel changes. Reworked fill of channels in ChannelFeed. Now the channel tree is updated and not refilled. Show unread message count in channels tree. Fixed memory leak in context menu. Show a new tray icon and action icon in MainWindow, when new channel messages are available. Recompile of the GUI needed. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3626 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
df20d69b29
commit
fc0ff38206
22 changed files with 1181 additions and 653 deletions
|
@ -98,6 +98,11 @@ void NotifyQt::notifyPeerStatusChangedSummary()
|
|||
emit peerStatusChangedSummary();
|
||||
}
|
||||
|
||||
void NotifyQt::notifyChannelMsgReadSatusChanged(const std::string& channelId, const std::string& msgId, uint32_t status)
|
||||
{
|
||||
emit channelMsgReadSatusChanged(QString::fromStdString(channelId), QString::fromStdString(msgId), status);
|
||||
}
|
||||
|
||||
void NotifyQt::notifyOwnStatusMessageChanged()
|
||||
{
|
||||
#ifdef NOTIFY_DEBUG
|
||||
|
@ -226,6 +231,12 @@ void NotifyQt::notifyListChange(int list, int type)
|
|||
#endif
|
||||
emit forumsChanged(); // use connect with Qt::QueuedConnection
|
||||
break;
|
||||
case NOTIFY_LIST_CHANNELLIST_LOCKED:
|
||||
#ifdef NOTIFY_DEBUG
|
||||
std::cerr << "received channel msg changed" << std::endl ;
|
||||
#endif
|
||||
emit channelsChanged(type); // use connect with Qt::QueuedConnection
|
||||
break;
|
||||
case NOTIFY_LIST_PUBLIC_CHAT:
|
||||
#ifdef NOTIFY_DEBUG
|
||||
std::cerr << "received public chat changed" << std::endl ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue