\hypertarget{SettingsDialog_8h_source}{}\doxysection{Settings\+Dialog.\+h} \label{SettingsDialog_8h_source}\index{src/ui/settings/SettingsDialog.h@{src/ui/settings/SettingsDialog.h}} \begin{DoxyCode}{0} \DoxyCodeLine{1 } \DoxyCodeLine{29 \textcolor{preprocessor}{\#ifndef \_\_SETTINGSDIALOG\_H\_\_}} \DoxyCodeLine{30 \textcolor{preprocessor}{\#define \_\_SETTINGSDIALOG\_H\_\_}} \DoxyCodeLine{31 } \DoxyCodeLine{32 \textcolor{preprocessor}{\#include "{}ui/GpgFrontendUI.h"{}}} \DoxyCodeLine{33 \textcolor{preprocessor}{\#include "{}ui/widgets/KeyList.h"{}}} \DoxyCodeLine{34 } \DoxyCodeLine{35 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespaceGpgFrontend_1_1UI}{GpgFrontend::UI}} \{} \DoxyCodeLine{36 } \DoxyCodeLine{37 \textcolor{keyword}{class }GeneralTab;} \DoxyCodeLine{38 \textcolor{keyword}{class }AppearanceTab;} \DoxyCodeLine{39 \textcolor{keyword}{class }KeyserverTab;} \DoxyCodeLine{40 \textcolor{keyword}{class }NetworkTab;} \DoxyCodeLine{41 } \DoxyCodeLine{46 \textcolor{keyword}{class }\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SettingsDialog}{SettingsDialog}} : \textcolor{keyword}{public} QDialog \{} \DoxyCodeLine{47 Q\_OBJECT} \DoxyCodeLine{48 } \DoxyCodeLine{49 \textcolor{keyword}{public}:} \DoxyCodeLine{55 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SettingsDialog_a1b7ddc7861d1b4b9dc3810ed98023ffc}{SettingsDialog}}(QWidget* parent = \textcolor{keyword}{nullptr});} \DoxyCodeLine{56 } \DoxyCodeLine{57 \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1GeneralTab}{GeneralTab}}* general\_tab\_; } \DoxyCodeLine{58 \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1AppearanceTab}{AppearanceTab}}* appearance\_tab\_; } \DoxyCodeLine{59 \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyserverTab}{KeyserverTab}}* key\_server\_tab\_; } \DoxyCodeLine{60 \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1NetworkTab}{NetworkTab}}* network\_tab\_; } \DoxyCodeLine{61 } \DoxyCodeLine{67 \textcolor{keyword}{static} QHash \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SettingsDialog_acd22ac2fd91704551e5317e2c549ae26}{ListLanguages}}();} \DoxyCodeLine{68 } \DoxyCodeLine{69 \textcolor{keyword}{public} slots:} \DoxyCodeLine{70 } \DoxyCodeLine{75 \textcolor{keywordtype}{void} SlotAccept();} \DoxyCodeLine{76 } \DoxyCodeLine{77 signals:} \DoxyCodeLine{78 } \DoxyCodeLine{84 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SettingsDialog_a91b25637962923a4bc646e8e1ab5d068}{SignalRestartNeeded}}(\textcolor{keywordtype}{bool} needed);} \DoxyCodeLine{85 } \DoxyCodeLine{86 \textcolor{keyword}{private}:} \DoxyCodeLine{87 QTabWidget* tab\_widget\_; } \DoxyCodeLine{88 QDialogButtonBox* button\_box\_; } \DoxyCodeLine{89 \textcolor{keywordtype}{bool} restart\_needed\_\{\}; } \DoxyCodeLine{90 } \DoxyCodeLine{97 \textcolor{keywordtype}{bool} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SettingsDialog_a44f48d9578d62b1786cbf10a8f20a518}{get\_restart\_needed}}() \textcolor{keyword}{const};} \DoxyCodeLine{98 } \DoxyCodeLine{99 \textcolor{keyword}{private} slots:} \DoxyCodeLine{100 } \DoxyCodeLine{106 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1SettingsDialog_a204f8e834337aea7df2779a494dc6216}{slot\_set\_restart\_needed}}(\textcolor{keywordtype}{bool} needed);} \DoxyCodeLine{107 \};} \DoxyCodeLine{108 } \DoxyCodeLine{109 \} \textcolor{comment}{// namespace GpgFrontend::UI}} \DoxyCodeLine{110 } \DoxyCodeLine{111 \textcolor{preprocessor}{\#endif }\textcolor{comment}{// \_\_SETTINGSDIALOG\_H\_\_}} \end{DoxyCode}