Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 0c773791 authored by Jonathan Marten's avatar Jonathan Marten

GUI for the system proxy settings option

This is the GUI for the setting, appearing on the "Advanced" tab of the
resource configuration dialogue.  The core part of the change is in
commit 08c5e854.

Differential Revision: https://phabricator.kde.org/D10318
parent 08c5e854
......@@ -197,6 +197,7 @@ void AccountDialog::loadSettings()
encryptionNone->setChecked(!Settings::self()->useSSL() && !Settings::self()->useTLS());
encryptionSSL->setChecked(Settings::self()->useSSL());
encryptionTLS->setChecked(Settings::self()->useTLS());
proxyCheck->setChecked(Settings::self()->useProxy());
slotEnableLeaveOnServerDays(leaveOnServerDaysCheck->isEnabled()
? Settings::self()->leaveOnServerDays() >= 1 : false);
......@@ -568,6 +569,7 @@ void AccountDialog::saveSettings()
Settings::self()->setUseSSL(encryptionSSL->isChecked());
Settings::self()->setUseTLS(encryptionTLS->isChecked());
Settings::self()->setAuthenticationMethod(authCombo->itemData(authCombo->currentIndex()).toInt());
Settings::self()->setUseProxy(proxyCheck->isChecked());
Settings::self()->setPipelining(usePipeliningCheck->isChecked());
Settings::self()->setLeaveOnServer(leaveOnServerCheck->isChecked());
Settings::self()->setLeaveOnServerDays(leaveOnServerCheck->isChecked()
......
......@@ -539,6 +539,16 @@ p, li { white-space: pre-wrap; }
</property>
</widget>
</item>
<item row="4" column="0" colspan="2">
<widget class="QCheckBox" name="proxyCheck">
<property name="text">
<string>Connect using the system proxy settings</string>
</property>
<property name="toolTip">
<string>If checked, the system proxy settings will be used to connect to the mail server.</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment