2022-05-08 19:59:26 +00:00
\hypertarget { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject} { } \doxysection { Gpg\+ Frontend\+ ::UI\+ ::Settings\+ Object Class Reference}
\label { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject} \index { GpgFrontend::UI::SettingsObject@{ GpgFrontend::UI::SettingsObject} }
The \mbox { \hyperlink { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject} { Settings\+ Object} } class This class is used to store settings for the application securely.
{ \ttfamily \# include $ < $ Settings\+ Object.\+ h$ > $ }
Inheritance diagram for Gpg\+ Frontend\+ ::UI\+ ::Settings\+ Object\+ :
2022-05-08 22:01:23 +00:00
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=221pt] { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject_ _ inherit_ _ graph}
\end { center}
\end { figure}
2022-05-08 19:59:26 +00:00
Collaboration diagram for Gpg\+ Frontend\+ ::UI\+ ::Settings\+ Object\+ :
2022-05-08 22:01:23 +00:00
\nopagebreak
\begin { figure} [H]
\begin { center}
\leavevmode
\includegraphics [width=286pt] { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject_ _ coll_ _ graph}
\end { center}
\end { figure}
2022-05-08 19:59:26 +00:00
\doxysubsection * { Public Member Functions}
\begin { DoxyCompactItemize}
\item
\mbox { \hyperlink { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject_ aad706a2c2b68d280b5d3ababff0ff302} { Settings\+ Object} } (std\+ ::string settings\+ \_ \+ name)
\begin { DoxyCompactList} \small \item \em Construct a new Settings Object object. \end { DoxyCompactList} \item
\mbox { \hyperlink { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject_ ac11d19096b4e88cb288a208a4953af4d} { Settings\+ Object} } (nlohmann\+ ::json \+ \_ \+ sub\+ \_ \+ json, bool)
\begin { DoxyCompactList} \small \item \em Construct a new Settings Object object. \end { DoxyCompactList} \item
2022-11-26 18:19:17 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject_ ae71336d240ace35756d1852a46271f6c} \label { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject_ ae71336d240ace35756d1852a46271f6c} }
2022-05-08 22:01:23 +00:00
\mbox { \hyperlink { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject_ ae71336d240ace35756d1852a46271f6c} { $ \sim $ \+ Settings\+ Object} } ()
2022-05-08 19:59:26 +00:00
\begin { DoxyCompactList} \small \item \em Destroy the Settings Object object. \end { DoxyCompactList} \item
nlohmann\+ ::json \& \mbox { \hyperlink { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject_ a5ddcc2e0bc6d4c2f88e6e00371d4792e} { Check} } (const std\+ ::string \& key, const nlohmann\+ ::json \& default\+ \_ \+ value)
\item
\mbox { \hyperlink { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject} { Settings\+ Object} } \mbox { \hyperlink { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject_ a80801f6912991ba625b5ead29a4558f0} { Check} } (const std\+ ::string \& key)
\end { DoxyCompactItemize}
\doxysubsection * { Private Attributes}
\begin { DoxyCompactItemize}
\item
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject_ a69e9027002113bf9ecc16d7836e42c63} \label { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject_ a69e9027002113bf9ecc16d7836e42c63} }
std\+ ::string { \bfseries settings\+ \_ \+ name\+ \_ \+ }
\end { DoxyCompactItemize}
\doxysubsection { Detailed Description}
The \mbox { \hyperlink { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject} { Settings\+ Object} } class This class is used to store settings for the application securely.
\doxysubsection { Constructor \& Destructor Documentation}
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject_ aad706a2c2b68d280b5d3ababff0ff302} \label { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject_ aad706a2c2b68d280b5d3ababff0ff302} }
\index { GpgFrontend::UI::SettingsObject@{ GpgFrontend::UI::SettingsObject} !SettingsObject@{ SettingsObject} }
\index { SettingsObject@{ SettingsObject} !GpgFrontend::UI::SettingsObject@{ GpgFrontend::UI::SettingsObject} }
\doxysubsubsection { \texorpdfstring { SettingsObject()} { SettingsObject()} \hspace { 0.1cm} { \footnotesize \ttfamily [1/2]} }
2022-11-26 18:19:17 +00:00
{ \footnotesize \ttfamily Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Settings\+ Object\+ ::\+ Settings\+ Object (\begin { DoxyParamCaption} \item [{std\+::string}] { settings\+ \_ \+ name } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [explicit]} }
2022-05-08 19:59:26 +00:00
Construct a new Settings Object object.
\begin { DoxyParams} { Parameters}
{ \em settings\+ \_ \+ name} & The name of the settings object \\
\hline
\end { DoxyParams}
2022-05-08 22:01:23 +00:00
References Gpg\+ Frontend\+ ::\+ Singleton\+ Function\+ Object$ < $ Data\+ Object\+ Operator $ > $ \+ ::\+ Get\+ Instance().
2022-05-08 19:59:26 +00:00
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject_ ac11d19096b4e88cb288a208a4953af4d} \label { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject_ ac11d19096b4e88cb288a208a4953af4d} }
\index { GpgFrontend::UI::SettingsObject@{ GpgFrontend::UI::SettingsObject} !SettingsObject@{ SettingsObject} }
\index { SettingsObject@{ SettingsObject} !GpgFrontend::UI::SettingsObject@{ GpgFrontend::UI::SettingsObject} }
\doxysubsubsection { \texorpdfstring { SettingsObject()} { SettingsObject()} \hspace { 0.1cm} { \footnotesize \ttfamily [2/2]} }
2022-11-26 18:19:17 +00:00
{ \footnotesize \ttfamily Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Settings\+ Object\+ ::\+ Settings\+ Object (\begin { DoxyParamCaption} \item [{nlohmann\+::json}] { \+ \_ \+ sub\+ \_ \+ json, } \item [{bool}] { } \end { DoxyParamCaption} )\hspace { 0.3cm} { \ttfamily [explicit]} }
2022-05-08 19:59:26 +00:00
Construct a new Settings Object object.
\begin { DoxyParams} { Parameters}
{ \em \+ \_ \+ sub\+ \_ \+ json} & \\
\hline
\end { DoxyParams}
\doxysubsection { Member Function Documentation}
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject_ a80801f6912991ba625b5ead29a4558f0} \label { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject_ a80801f6912991ba625b5ead29a4558f0} }
\index { GpgFrontend::UI::SettingsObject@{ GpgFrontend::UI::SettingsObject} !Check@{ Check} }
\index { Check@{ Check} !GpgFrontend::UI::SettingsObject@{ GpgFrontend::UI::SettingsObject} }
\doxysubsubsection { \texorpdfstring { Check()} { Check()} \hspace { 0.1cm} { \footnotesize \ttfamily [1/2]} }
2022-11-26 18:19:17 +00:00
{ \footnotesize \ttfamily \mbox { \hyperlink { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject} { Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Settings\+ Object} } Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Settings\+ Object\+ ::\+ Check (\begin { DoxyParamCaption} \item [{const std\+::string \&}] { key } \end { DoxyParamCaption} )}
2022-05-08 19:59:26 +00:00
\begin { DoxyParams} { Parameters}
{ \em key} & \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
\mbox { \hyperlink { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject} { Settings\+ Object} }
\end { DoxyReturn}
\mbox { \Hypertarget { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject_ a5ddcc2e0bc6d4c2f88e6e00371d4792e} \label { classGpgFrontend_ 1_ 1UI_ 1_ 1SettingsObject_ a5ddcc2e0bc6d4c2f88e6e00371d4792e} }
\index { GpgFrontend::UI::SettingsObject@{ GpgFrontend::UI::SettingsObject} !Check@{ Check} }
\index { Check@{ Check} !GpgFrontend::UI::SettingsObject@{ GpgFrontend::UI::SettingsObject} }
\doxysubsubsection { \texorpdfstring { Check()} { Check()} \hspace { 0.1cm} { \footnotesize \ttfamily [2/2]} }
2022-11-26 18:19:17 +00:00
{ \footnotesize \ttfamily nlohmann\+ ::json \& Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Settings\+ Object\+ ::\+ Check (\begin { DoxyParamCaption} \item [{const std\+::string \&}] { key, } \item [{const nlohmann\+::json \&}] { default\+ \_ \+ value } \end { DoxyParamCaption} )}
2022-05-08 19:59:26 +00:00
\begin { DoxyParams} { Parameters}
{ \em key} & \\
\hline
{ \em default\+ \_ \+ value} & \\
\hline
\end { DoxyParams}
\begin { DoxyReturn} { Returns}
nlohmann\+ ::json\&
\end { DoxyReturn}
Copyright (C) 2021 Saturneric
This file is part of \mbox { \hyperlink { namespaceGpgFrontend} { Gpg\+ Frontend} } .
2022-11-26 18:19:17 +00:00
\mbox { \hyperlink { namespaceGpgFrontend} { Gpg\+ Frontend} } is free software\+ : you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
2022-05-08 19:59:26 +00:00
2022-11-26 18:19:17 +00:00
\mbox { \hyperlink { namespaceGpgFrontend} { Gpg\+ Frontend} } is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
2022-05-08 19:59:26 +00:00
2022-11-26 18:19:17 +00:00
You should have received a copy of the GNU General Public License along with \mbox { \hyperlink { namespaceGpgFrontend} { Gpg\+ Frontend} } . If not, see \href { https://www.gnu.org/licenses/} { \texttt { https\+ ://www.\+ gnu.\+ org/licenses/} } .
2022-05-08 19:59:26 +00:00
2022-11-26 18:19:17 +00:00
The initial version of the source code is inherited from the gpg4usb project, which is under GPL-\/ 3.\+ 0-\/ or-\/ later.
2022-05-08 19:59:26 +00:00
All the source code of \mbox { \hyperlink { namespaceGpgFrontend} { Gpg\+ Frontend} } was modified and released by Saturneric\href { mailto:eric@bktus.com} { \texttt { eric@bktus.\+ com} } starting on May 12, 2021.
2022-11-26 18:19:17 +00:00
SPDX-\/ \+ License-\/ \+ Identifier\+ : GPL-\/ 3.\+ 0-\/ or-\/ later
2022-05-08 19:59:26 +00:00
2022-11-26 18:19:17 +00:00
Referenced by Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Key\+ Server\+ Import\+ Dialog\+ ::create\+ \_ \+ combo\+ Box(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Plain\+ Text\+ Editor\+ Page\+ ::\+ Plain\+ Text\+ Editor\+ Page(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Info\+ Board\+ Widget\+ ::\+ Set\+ Info\+ Board(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Appearance\+ Tab\+ ::\+ Set\+ Settings(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Keyserver\+ Tab\+ ::\+ Set\+ Settings(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Main\+ Window\+ ::slot\+ \_ \+ open\+ \_ \+ settings\+ \_ \+ dialog(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Key\+ Upload\+ Dialog\+ ::slot\+ \_ \+ upload\+ \_ \+ key\+ \_ \+ to\+ \_ \+ server(), Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Key\+ Server\+ Import\+ Dialog\+ ::\+ Slot\+ Import(), and Gpg\+ Frontend\+ ::\+ UI\+ ::\+ Common\+ Utils\+ ::\+ Slot\+ Import\+ Key\+ From\+ Key\+ Server().
2022-05-08 19:59:26 +00:00
The documentation for this class was generated from the following files\+ :\begin { DoxyCompactItemize}
\item
src/ui/struct/Settings\+ Object.\+ h\item
src/ui/struct/Settings\+ Object.\+ cpp\end { DoxyCompactItemize}