mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-25 23:00:56 -04:00
Add buttons to send message in plain text and without EmoteIcon.
This commit is contained in:
parent
56e079739c
commit
ddbcd2150c
15 changed files with 221 additions and 103 deletions
|
@ -512,6 +512,26 @@ void RshareSettings::setChatSendMessageWithCtrlReturn(bool bValue)
|
|||
setValueToGroup("Chat", "SendMessageWithCtrlReturn", bValue);
|
||||
}
|
||||
|
||||
bool RshareSettings::getChatSendAsPlainTextByDef()
|
||||
{
|
||||
return valueFromGroup("Chat", "SendAsPlainTextByDef", false).toBool();
|
||||
}
|
||||
|
||||
void RshareSettings::setChatSendAsPlainTextByDef(bool bValue)
|
||||
{
|
||||
setValueToGroup("Chat", "SendAsPlainTextByDef", bValue);
|
||||
}
|
||||
|
||||
bool RshareSettings::getChatSearchShowBarByDefault()
|
||||
{
|
||||
return valueFromGroup("Chat", "SearchShowBarByDefault", false).toBool();
|
||||
}
|
||||
|
||||
void RshareSettings::setChatSearchShowBarByDefault(bool bValue)
|
||||
{
|
||||
setValueToGroup("Chat", "SearchShowBarByDefault", bValue);
|
||||
}
|
||||
|
||||
void RshareSettings::setChatSearchCharToStartSearch(int iValue)
|
||||
{
|
||||
setValueToGroup("Chat", "SearchCharToStartSearch", iValue);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue