GODT-1901: Allow to set IMAP SSL from UI

This commit is contained in:
Leander Beernaert
2022-10-13 10:58:11 +02:00
committed by James Houlahan
parent 209c315a76
commit e10cd2a3ed
116 changed files with 3713 additions and 973 deletions

View File

@ -349,6 +349,14 @@ bool SettingsTab::useSSLForSMTP() const
return ui_.checkUseSSLForSMTP->isChecked();
}
//****************************************************************************************************************************************************
/// \return The state of the 'Use SSL for SMTP' check box.
//****************************************************************************************************************************************************
bool SettingsTab::useSSLForIMAP() const
{
return ui_.checkUseSSLForIMAP->isChecked();
}
//****************************************************************************************************************************************************
/// \param[in] use The state of the 'Use SSL for SMTP' check box.
@ -358,6 +366,14 @@ void SettingsTab::setUseSSLForSMTP(bool use)
ui_.checkUseSSLForSMTP->setChecked(use);
}
//****************************************************************************************************************************************************
/// \param[in] use The state of the 'Use SSL for SMTP' check box.
//****************************************************************************************************************************************************
void SettingsTab::setUseSSLForIMAP(bool use)
{
ui_.checkUseSSLForIMAP->setChecked(use);
}
//****************************************************************************************************************************************************
/// \return The state of the the 'DoH enabled' check box.