Пример #1
0
void RshareSettings::setGroupFrameSettings(GroupFrameSettings::Type type, const GroupFrameSettings &groupFrameSettings)
{
	QString group = groupFrameSettingsTypeToString(type);
	if (group.isEmpty()) {
		return;
	}

	setValueToGroup(group, "OpenAllInNewTab", groupFrameSettings.mOpenAllInNewTab);
	setValueToGroup(group, "HideTabBarWithOneTab", groupFrameSettings.mHideTabBarWithOneTab);
}
Пример #2
0
void RshareSettings::setLastDir(enumLastDir type, const QString &lastDir)
{
    QString key = getKeyForLastDir(type);
    if (key.isEmpty()) {
        return;
    }

    setValueToGroup("LastDir", key, lastDir);
}
Пример #3
0
void RshareSettings::setMsgOpen(enumMsgOpen value)
{
    switch (value) {
    case MSG_OPEN_TAB:
    case MSG_OPEN_WINDOW:
        break;
    default:
        value = MSG_OPEN_TAB;
    }

    setValueToGroup("MessageDialog", "msgOpen", value);
}
Пример #4
0
void RshareSettings::setChatScreenFont(const QString &font)
{
    setValueToGroup("Chat", "ChatScreenFont", font);
}
Пример #5
0
void RshareSettings::setWebinterfaceAllowAllIps(bool allow_all)
{
    setValueToGroup("Webinterface", "allowAllIps", allow_all);
}
Пример #6
0
void RshareSettings::setForumOpenAllInNewTab(bool value)
{
    setValueToGroup("ForumDialog", "OpenAllInNewTab", value);
}
Пример #7
0
void RshareSettings::setForumMsgSetToReadOnActivate(bool value)
{
    setValueToGroup("ForumDialog", "SetMsgToReadOnActivate", value);
}
Пример #8
0
void RshareSettings::setMsgLoadEmbeddedImages(bool value)
{
    setValueToGroup("MessageDialog", "LoadEmbeddedImages", value);
}
Пример #9
0
void RshareSettings::setLastPageInMainWindow (int value)
{
    setValueToGroup("MainWindow", "LastPage", value);
}
Пример #10
0
void RshareSettings::setLobbyChatHistoryCount(int value)
{
    setValueToGroup("Chat", "LobbyChatHistoryCount", value);
}
Пример #11
0
void RshareSettings::setChatSearchSearchWithoutLimit(bool bValue)
{
	setValueToGroup("Chat", "SearchSearchWithoutLimit", bValue);
}
Пример #12
0
void RshareSettings::setChatSearchMoveToCursor(bool bValue)
{
	setValueToGroup("Chat", "SearchMoveToCursor", bValue);
}
Пример #13
0
void RshareSettings::setChatSearchWholeWords(bool bValue)
{
	setValueToGroup("Chat", "SearchWholeWords", bValue);
}
Пример #14
0
void RshareSettings::setChatSearchCaseSensitively(bool bValue)
{
	setValueToGroup("Chat", "SearchCaseSensitively", bValue);
}
Пример #15
0
void RshareSettings::setChatSearchCharToStartSearch(int iValue)
{
	setValueToGroup("Chat", "SearchCharToStartSearch", iValue);
}
Пример #16
0
void RshareSettings::setChatSearchShowBarByDefault(bool bValue)
{
	setValueToGroup("Chat", "SearchShowBarByDefault", bValue);
}
Пример #17
0
void RshareSettings::setPublicChatStyle(const QString &stylePath, const QString &styleVariant)
{
    setValueToGroup("Chat", "StylePublic", stylePath);
    setValueToGroup("Chat", "StylePublicVariant", styleVariant);
}
Пример #18
0
void RshareSettings::setHistoryChatStyle(const QString &stylePath, const QString &styleVariant)
{
    setValueToGroup("Chat", "StyleHistory", stylePath);
    setValueToGroup("Chat", "StylePrivateVariant", styleVariant);
}
Пример #19
0
void RshareSettings::setChatSearchMaxSearchLimitColor(uint uiValue)
{
	setValueToGroup("Chat", "SearchMaxSearchLimitColor", uiValue);
}
Пример #20
0
void RshareSettings::setPrivateChatHistoryCount(int value)
{
    setValueToGroup("Chat", "PrivateChatHistoryCount", value);
}
Пример #21
0
void RshareSettings::setChatSearchFoundColor(QRgb rgbValue)
{
	setValueToGroup("Chat", "SearchMaxSearchFoundColor", QString::number(rgbValue));
}
Пример #22
0
void RshareSettings::setStatusBarFlags(uint flags)
{
    setValueToGroup("MainWindow", "StatusBarFlags", flags);
}
Пример #23
0
void RshareSettings::setMsgSetToReadOnActivate (bool value)
{
	setValueToGroup("Message", "SetMsgToReadOnActivate", value);
}
Пример #24
0
void RshareSettings::setChannelLoadThread(bool value)
{
	setValueToGroup("Channel", "LoadThread", value);
}
Пример #25
0
void RshareSettings::setWebinterfaceEnabled(bool enabled)
{
    setValueToGroup("Webinterface", "enabled", enabled);
}
Пример #26
0
void RshareSettings::setForumExpandNewMessages(bool value)
{
    setValueToGroup("ForumDialog", "ExpandNewMessages", value);
}
Пример #27
0
void RshareSettings::setChatSendMessageWithCtrlReturn(bool bValue)
{
    setValueToGroup("Chat", "SendMessageWithCtrlReturn", bValue);
}
Пример #28
0
void RshareSettings::setForumLoadEmbeddedImages(bool value)
{
    setValueToGroup("ForumDialog", "LoadEmbeddedImages", value);
}
Пример #29
0
void RshareSettings::setWebinterfacePort(uint16_t port)
{
    setValueToGroup("Webinterface", "port", port);
}