GpgFrontend-Doxygen/docs/latex/KeySetExpireDateDialog_8h_source.tex
2022-05-09 03:59:26 +08:00

48 lines
3.2 KiB
TeX

\hypertarget{KeySetExpireDateDialog_8h_source}{}\doxysection{Key\+Set\+Expire\+Date\+Dialog.\+h}
\label{KeySetExpireDateDialog_8h_source}\index{src/ui/keypair\_details/KeySetExpireDateDialog.h@{src/ui/keypair\_details/KeySetExpireDateDialog.h}}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{29 \textcolor{preprocessor}{\#ifndef GPGFRONTEND\_KEYSETEXPIREDATEDIALOG\_H}}
\DoxyCodeLine{30 \textcolor{preprocessor}{\#define GPGFRONTEND\_KEYSETEXPIREDATEDIALOG\_H}}
\DoxyCodeLine{31 }
\DoxyCodeLine{32 \textcolor{preprocessor}{\#include "{}core/GpgContext.h"{}}}
\DoxyCodeLine{33 \textcolor{preprocessor}{\#include "{}core/model/GpgKey.h"{}}}
\DoxyCodeLine{34 \textcolor{preprocessor}{\#include "{}core/model/GpgSubKey.h"{}}}
\DoxyCodeLine{35 \textcolor{preprocessor}{\#include "{}ui/GpgFrontendUI.h"{}}}
\DoxyCodeLine{36 }
\DoxyCodeLine{37 \textcolor{keyword}{class }Ui\_ModifiedExpirationDateTime;}
\DoxyCodeLine{38 }
\DoxyCodeLine{39 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespaceGpgFrontend_1_1UI}{GpgFrontend::UI}} \{}
\DoxyCodeLine{40 }
\DoxyCodeLine{41 \textcolor{keyword}{class }\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeySetExpireDateDialog}{KeySetExpireDateDialog}} : \textcolor{keyword}{public} QDialog \{}
\DoxyCodeLine{42 Q\_OBJECT}
\DoxyCodeLine{43 \textcolor{keyword}{public}:}
\DoxyCodeLine{50 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeySetExpireDateDialog_a67da7721959b585db21f7e893793564b}{KeySetExpireDateDialog}}(\textcolor{keyword}{const} KeyId\& key\_id,}
\DoxyCodeLine{51 QWidget* parent = \textcolor{keyword}{nullptr});}
\DoxyCodeLine{52 }
\DoxyCodeLine{60 \textcolor{keyword}{explicit} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeySetExpireDateDialog_a67da7721959b585db21f7e893793564b}{KeySetExpireDateDialog}}(\textcolor{keyword}{const} KeyId\& key\_id, std::string subkey\_fpr,}
\DoxyCodeLine{61 QWidget* parent = \textcolor{keyword}{nullptr});}
\DoxyCodeLine{62 }
\DoxyCodeLine{63 signals:}
\DoxyCodeLine{68 \textcolor{keywordtype}{void} SignalKeyExpireDateUpdated();}
\DoxyCodeLine{69 }
\DoxyCodeLine{70 \textcolor{keyword}{private}:}
\DoxyCodeLine{75 \textcolor{keywordtype}{void} init();}
\DoxyCodeLine{76 }
\DoxyCodeLine{77 std::shared\_ptr<Ui\_ModifiedExpirationDateTime> ui\_; }
\DoxyCodeLine{78 \textcolor{keyword}{const} \mbox{\hyperlink{classGpgFrontend_1_1GpgKey}{GpgKey}} m\_key\_; }
\DoxyCodeLine{79 \textcolor{keyword}{const} SubkeyId m\_subkey\_; }
\DoxyCodeLine{80 }
\DoxyCodeLine{81 \textcolor{keyword}{private} slots:}
\DoxyCodeLine{86 \textcolor{keywordtype}{void} slot\_confirm();}
\DoxyCodeLine{87 }
\DoxyCodeLine{93 \textcolor{keywordtype}{void} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1KeySetExpireDateDialog_adde2b33bd17f521f0630702987b1d274}{slot\_non\_expired\_checked}}(\textcolor{keywordtype}{int} state);}
\DoxyCodeLine{94 \};}
\DoxyCodeLine{95 }
\DoxyCodeLine{96 \} \textcolor{comment}{// namespace GpgFrontend::UI}}
\DoxyCodeLine{97 }
\DoxyCodeLine{98 \textcolor{preprocessor}{\#endif }\textcolor{comment}{// GPGFRONTEND\_KEYSETEXPIREDATEDIALOG\_H}}
\end{DoxyCode}