aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/settings/SettingsSendMail.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/settings/SettingsSendMail.h')
-rw-r--r--src/ui/settings/SettingsSendMail.h18
1 files changed, 5 insertions, 13 deletions
diff --git a/src/ui/settings/SettingsSendMail.h b/src/ui/settings/SettingsSendMail.h
index ec8f83c9..be1a9b7c 100644
--- a/src/ui/settings/SettingsSendMail.h
+++ b/src/ui/settings/SettingsSendMail.h
@@ -7,6 +7,8 @@
#include "ui/GpgFrontendUI.h"
+class Ui_SendMailSettings;
+
namespace GpgFrontend::UI {
class SendMailTab : public QWidget {
Q_OBJECT
@@ -22,20 +24,10 @@ class SendMailTab : public QWidget {
void slotCheckBoxSetEnableDisable(int state);
- private:
- QString appPath;
- QSettings settings;
-
- QCheckBox* enableCheckBox;
+ void slotCheckConnection();
- QLineEdit* smtpAddress;
- QLineEdit* username;
- QLineEdit* password;
- QSpinBox* portSpin;
- QComboBox* connectionTypeComboBox;
- QLineEdit* defaultSender;
-
- QPushButton* checkConnectionButton;
+ private:
+ std::shared_ptr<Ui_SendMailSettings> ui;
signals: