\hypertarget{SettingsNetwork_8h_source}{}\doxysection{Settings\+Network.\+h} \label{SettingsNetwork_8h_source}\index{src/ui/settings/SettingsNetwork.h@{src/ui/settings/SettingsNetwork.h}} \begin{DoxyCode}{0} \DoxyCodeLine{1 } \DoxyCodeLine{29 \textcolor{preprocessor}{\#ifndef GPGFRONTEND\_SETTINGSNETWORK\_H}} \DoxyCodeLine{30 \textcolor{preprocessor}{\#define GPGFRONTEND\_SETTINGSNETWORK\_H}} \DoxyCodeLine{31 } \DoxyCodeLine{32 \textcolor{preprocessor}{\#include "{}ui/GpgFrontendUI.h"{}}} \DoxyCodeLine{33 } \DoxyCodeLine{34 \textcolor{keyword}{class }Ui\_NetworkSettings;} \DoxyCodeLine{35 } \DoxyCodeLine{36 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespaceGpgFrontend_1_1UI}{GpgFrontend::UI}} \{} \DoxyCodeLine{37 \textcolor{keyword}{class }\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1NetworkTab}{NetworkTab}} : \textcolor{keyword}{public} QWidget \{} \DoxyCodeLine{38 Q\_OBJECT} \DoxyCodeLine{39 } \DoxyCodeLine{40 \textcolor{keyword}{public}:} \DoxyCodeLine{46 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1NetworkTab_a444d3630919c1f9c4db495a58acbb9a8}{NetworkTab}}(QWidget* parent = \textcolor{keyword}{nullptr});} \DoxyCodeLine{47 } \DoxyCodeLine{52 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1NetworkTab_a51cd114731899b6480cc1b6d5a80826a}{SetSettings}}();} \DoxyCodeLine{53 } \DoxyCodeLine{58 \textcolor{keywordtype}{void} ApplySettings();} \DoxyCodeLine{59 } \DoxyCodeLine{60 \textcolor{keyword}{private} slots:} \DoxyCodeLine{61 } \DoxyCodeLine{66 \textcolor{keywordtype}{void} slot\_test\_proxy\_connection\_result();} \DoxyCodeLine{67 } \DoxyCodeLine{68 \textcolor{keyword}{private}:} \DoxyCodeLine{69 std::shared\_ptr ui\_; } \DoxyCodeLine{70 QNetworkProxy::ProxyType proxy\_type\_ = QNetworkProxy::HttpProxy; } \DoxyCodeLine{71 } \DoxyCodeLine{76 \textcolor{keywordtype}{void} apply\_proxy\_settings();} \DoxyCodeLine{77 } \DoxyCodeLine{83 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1NetworkTab_ae3d97948f205e84f0604d4da634a4513}{switch\_ui\_enabled}}(\textcolor{keywordtype}{bool} enabled);} \DoxyCodeLine{84 } \DoxyCodeLine{90 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1NetworkTab_a1b0297158f13daec77645c88e5a8adcd}{switch\_ui\_proxy\_type}}(\textcolor{keyword}{const} QString\& type\_text);} \DoxyCodeLine{91 \};} \DoxyCodeLine{92 \} \textcolor{comment}{// namespace GpgFrontend::UI}} \DoxyCodeLine{93 } \DoxyCodeLine{94 \textcolor{preprocessor}{\#endif }\textcolor{comment}{// GPGFRONTEND\_SETTINGSNETWORK\_H}} \end{DoxyCode}