GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
QuitDialog.h
1
29#ifndef __QUITDIALOG_H__
30#define __QUITDIALOG_H__
31
32#include "ui/GpgFrontendUI.h"
33
34namespace GpgFrontend::UI {
35
40class QuitDialog : public QDialog {
41 Q_OBJECT
42
43 public:
50 QuitDialog(QWidget* parent, const QHash<int, QString>& unsavedDocs);
51
58 [[nodiscard]] bool IsDiscarded() const;
59
65 QList<int> GetTabIdsToSave();
66
67 private slots:
68
73 void slot_my_discard();
74
75 private:
76 bool discarded_;
77 QTableWidget* m_fileList_;
78};
79
80} // namespace GpgFrontend::UI
81
82#endif // __QUITDIALOG_H__
Definition: QuitDialog.h:40
bool IsDiscarded() const
Definition: QuitDialog.cpp:133
QuitDialog(QWidget *parent, const QHash< int, QString > &unsavedDocs)
Construct a new Quit Dialog object.
Definition: QuitDialog.cpp:35
QList< int > GetTabIdsToSave()
Get the Tab Ids To Save object.
Definition: QuitDialog.cpp:135
Definition: VerifyDetailsDialog.cpp:33