+
+void ConnectionSettingsPage::saveAutoWidgetValue(const QString &widgetName, const QVariant &value)
+{
+ if (!isEnabled())
+ return;
+ NetworkConfig *config = Client::networkConfig();
+ if (widgetName == "pingTimeoutEnabled")
+ config->requestSetPingTimeoutEnabled(value.toBool());
+ else if (widgetName == "pingInterval")
+ config->requestSetPingInterval(value.toInt());
+ else if (widgetName == "maxPingCount")
+ config->requestSetMaxPingCount(value.toInt());
+ else if (widgetName == "autoWhoEnabled")
+ config->requestSetAutoWhoEnabled(value.toBool());
+ else if (widgetName == "autoWhoInterval")
+ config->requestSetAutoWhoInterval(value.toInt());
+ else if (widgetName == "autoWhoNickLimit")
+ config->requestSetAutoWhoNickLimit(value.toInt());
+ else if (widgetName == "autoWhoDelay")
+ config->requestSetAutoWhoDelay(value.toInt());
+ else if (widgetName == "standardCtcp")
+ config->requestSetStandardCtcp(value.toBool());
+
+ else
+ SettingsPage::saveAutoWidgetValue(widgetName, value);
+}