\hypertarget{QuitDialog_8h_source}{}\doxysection{Quit\+Dialog.\+h} \label{QuitDialog_8h_source}\index{src/ui/dialog/QuitDialog.h@{src/ui/dialog/QuitDialog.h}} \begin{DoxyCode}{0} \DoxyCodeLine{1 } \DoxyCodeLine{29 \textcolor{preprocessor}{\#ifndef \_\_QUITDIALOG\_H\_\_}} \DoxyCodeLine{30 \textcolor{preprocessor}{\#define \_\_QUITDIALOG\_H\_\_}} \DoxyCodeLine{31 } \DoxyCodeLine{32 \textcolor{preprocessor}{\#include "{}ui/GpgFrontendUI.h"{}}} \DoxyCodeLine{33 } \DoxyCodeLine{34 \textcolor{keyword}{namespace }\mbox{\hyperlink{namespaceGpgFrontend_1_1UI}{GpgFrontend::UI}} \{} \DoxyCodeLine{35 } \DoxyCodeLine{40 \textcolor{keyword}{class }\mbox{\hyperlink{classGpgFrontend_1_1UI_1_1QuitDialog}{QuitDialog}} : \textcolor{keyword}{public} QDialog \{} \DoxyCodeLine{41 Q\_OBJECT} \DoxyCodeLine{42 } \DoxyCodeLine{43 \textcolor{keyword}{public}:} \DoxyCodeLine{50 \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1QuitDialog_a60419bf8e817db25128c2f941fc42a3d}{QuitDialog}}(QWidget* parent, \textcolor{keyword}{const} QHash\& unsavedDocs);} \DoxyCodeLine{51 } \DoxyCodeLine{58 [[nodiscard]] \textcolor{keywordtype}{bool} \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1QuitDialog_a4c4bc06d1d168f01569ed83dcfd50d55}{IsDiscarded}}() \textcolor{keyword}{const};} \DoxyCodeLine{59 } \DoxyCodeLine{65 QList \mbox{\hyperlink{classGpgFrontend_1_1UI_1_1QuitDialog_aec364c38056b6d92c172f8cdfb5f8e82}{GetTabIdsToSave}}();} \DoxyCodeLine{66 } \DoxyCodeLine{67 \textcolor{keyword}{private} slots:} \DoxyCodeLine{68 } \DoxyCodeLine{73 \textcolor{keywordtype}{void} slot\_my\_discard();} \DoxyCodeLine{74 } \DoxyCodeLine{75 \textcolor{keyword}{private}:} \DoxyCodeLine{76 \textcolor{keywordtype}{bool} discarded\_; } \DoxyCodeLine{77 QTableWidget* m\_fileList\_; } \DoxyCodeLine{78 \};} \DoxyCodeLine{79 } \DoxyCodeLine{80 \} \textcolor{comment}{// namespace GpgFrontend::UI}} \DoxyCodeLine{81 } \DoxyCodeLine{82 \textcolor{preprocessor}{\#endif }\textcolor{comment}{// \_\_QUITDIALOG\_H\_\_}} \end{DoxyCode}