53 lines
2.8 KiB
TeX
53 lines
2.8 KiB
TeX
\hypertarget{SettingsGeneral_8h_source}{}\doxysection{Settings\+General.\+h}
|
|
\label{SettingsGeneral_8h_source}\index{src/ui/settings/SettingsGeneral.h@{src/ui/settings/SettingsGeneral.h}}
|
|
|
|
\begin{DoxyCode}{0}
|
|
\DoxyCodeLine{1 }
|
|
\DoxyCodeLine{29 \textcolor{preprocessor}{\#ifndef GPGFRONTEND\_SETTINGSGENERAL\_H}}
|
|
\DoxyCodeLine{30 \textcolor{preprocessor}{\#define GPGFRONTEND\_SETTINGSGENERAL\_H}}
|
|
\DoxyCodeLine{31 }
|
|
\DoxyCodeLine{32 \textcolor{preprocessor}{\#include "{}ui/GpgFrontendUI.h"{}}}
|
|
\DoxyCodeLine{33 }
|
|
\DoxyCodeLine{34 \textcolor{keyword}{class }Ui\_GeneralSettings;}
|
|
\DoxyCodeLine{35 }
|
|
\DoxyCodeLine{36 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespaceGpgFrontend_1_1UI}{GpgFrontend::UI}} \{}
|
|
\DoxyCodeLine{37 \textcolor{keyword}{class }KeyList;}
|
|
\DoxyCodeLine{38 }
|
|
\DoxyCodeLine{43 \textcolor{keyword}{class }\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1GeneralTab}{GeneralTab}} : \textcolor{keyword}{public} QWidget \{}
|
|
\DoxyCodeLine{44 Q\_OBJECT}
|
|
\DoxyCodeLine{45 }
|
|
\DoxyCodeLine{46 \textcolor{keyword}{public}:}
|
|
\DoxyCodeLine{52 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1GeneralTab_a214079dfbacdc6898146c8468611cf0c}{GeneralTab}}(QWidget* parent = \textcolor{keyword}{nullptr});}
|
|
\DoxyCodeLine{53 }
|
|
\DoxyCodeLine{58 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1GeneralTab_a7b26d8a088ce8f50b1fd0e719e38534b}{SetSettings}}();}
|
|
\DoxyCodeLine{59 }
|
|
\DoxyCodeLine{64 \textcolor{keywordtype}{void} ApplySettings();}
|
|
\DoxyCodeLine{65 }
|
|
\DoxyCodeLine{66 signals:}
|
|
\DoxyCodeLine{67 }
|
|
\DoxyCodeLine{73 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1GeneralTab_aa88ccbda61728be6de0aa2d9b92e0b69}{SignalRestartNeeded}}(\textcolor{keywordtype}{bool} needed);}
|
|
\DoxyCodeLine{74 }
|
|
\DoxyCodeLine{75 \textcolor{keyword}{private}:}
|
|
\DoxyCodeLine{76 std::shared\_ptr<Ui\_GeneralSettings> ui\_; }
|
|
\DoxyCodeLine{77 }
|
|
\DoxyCodeLine{78 \textcolor{preprocessor}{\#ifdef MULTI\_LANG\_SUPPORT}}
|
|
\DoxyCodeLine{79 QHash<QString, QString> lang\_; }
|
|
\DoxyCodeLine{80 \textcolor{preprocessor}{\#endif}}
|
|
\DoxyCodeLine{81 }
|
|
\DoxyCodeLine{82 std::vector<std::string> key\_ids\_list\_; }
|
|
\DoxyCodeLine{83 }
|
|
\DoxyCodeLine{84 \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeyList}{KeyList}}* m\_key\_list\_\{\}; }
|
|
\DoxyCodeLine{85 }
|
|
\DoxyCodeLine{86 \textcolor{keyword}{private} slots:}
|
|
\DoxyCodeLine{87 }
|
|
\DoxyCodeLine{88 \textcolor{preprocessor}{\#ifdef MULTI\_LANG\_SUPPORT}}
|
|
\DoxyCodeLine{93 \textcolor{keywordtype}{void} slot\_language\_changed();}
|
|
\DoxyCodeLine{94 }
|
|
\DoxyCodeLine{95 \textcolor{preprocessor}{\#endif}}
|
|
\DoxyCodeLine{96 \};}
|
|
\DoxyCodeLine{97 \} \textcolor{comment}{// namespace GpgFrontend::UI}}
|
|
\DoxyCodeLine{98 }
|
|
\DoxyCodeLine{99 \textcolor{preprocessor}{\#endif }\textcolor{comment}{// GPGFRONTEND\_SETTINGSGENERAL\_H}}
|
|
|
|
\end{DoxyCode}
|