blob: aef4752a8b38f0fed77294f631bee3026f63d7b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/*
* Copyright (c) 2021, the SerenityOS developers.
* Copyright (c) 2021, Sam Atkins <atkinssj@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibGUI/SettingsWindow.h>
#include <LibGUI/TextEditor.h>
#include <LibGUI/Window.h>
class MailSettingsWidget final : public GUI::SettingsWindow::Tab {
C_OBJECT(MailSettingsWidget)
public:
virtual void apply_settings() override;
virtual void reset_default_values() override;
private:
MailSettingsWidget();
DeprecatedString m_server;
DeprecatedString m_port;
bool m_tls { false };
DeprecatedString m_email;
Vector<DeprecatedString> m_common_ports;
RefPtr<GUI::TextBox> m_server_inputbox;
RefPtr<GUI::ComboBox> m_port_combobox;
RefPtr<GUI::CheckBox> m_tls_checkbox;
RefPtr<GUI::TextBox> m_email_inputbox;
};
|