mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-08 22:52:54 -04:00
New read status for forum messages.
New mail messages are marked with a new icon in front of the title. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3352 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
1ad871a3e9
commit
86ae9983d1
22 changed files with 1425 additions and 355 deletions
|
@ -378,6 +378,27 @@ void RshareSettings::setMsgSetToReadOnActivate (bool bValue)
|
|||
setValueToGroup("MessageDialog", "SetMsgToReadOnActivate", bValue);
|
||||
}
|
||||
|
||||
/* Forums */
|
||||
bool RshareSettings::getForumMsgSetToReadOnActivate ()
|
||||
{
|
||||
return valueFromGroup("ForumDialog", "SetMsgToReadOnActivate", true).toBool();
|
||||
}
|
||||
|
||||
void RshareSettings::setForumMsgSetToReadOnActivate (bool bValue)
|
||||
{
|
||||
setValueToGroup("ForumDialog", "SetMsgToReadOnActivate", bValue);
|
||||
}
|
||||
|
||||
bool RshareSettings::getExpandNewMessages()
|
||||
{
|
||||
return valueFromGroup("ForumDialog", "ExpandNewMessages", true).toBool();
|
||||
}
|
||||
|
||||
void RshareSettings::setExpandNewMessages (bool bValue)
|
||||
{
|
||||
setValueToGroup("ForumDialog", "ExpandNewMessages", bValue);
|
||||
}
|
||||
|
||||
/* time before idle */
|
||||
uint RshareSettings::getMaxTimeBeforeIdle()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue