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
#include "ui/dialog/GeneralDialog.h"
34
35
namespace
GpgFrontend::UI
{
36
41
class
QuitDialog
:
public
GeneralDialog
{
42
Q_OBJECT
43
44
public
:
51
QuitDialog
(QWidget* parent,
const
QHash<int, QString>& unsavedDocs);
52
59
[[nodiscard]]
bool
IsDiscarded
()
const
;
60
66
QList<int>
GetTabIdsToSave
();
67
68
private
slots:
69
74
void
slot_my_discard();
75
76
private
:
77
bool
discarded_;
78
QTableWidget* m_fileList_;
79
};
80
81
}
// namespace GpgFrontend::UI
82
83
#endif // __QUITDIALOG_H__
GpgFrontend::UI
Definition:
FileReadTask.cpp:31
GpgFrontend::UI::GeneralDialog
Definition:
GeneralDialog.h:35
GpgFrontend::UI::QuitDialog::IsDiscarded
bool IsDiscarded() const
Definition:
QuitDialog.cpp:133
GpgFrontend::UI::QuitDialog::QuitDialog
QuitDialog(QWidget *parent, const QHash< int, QString > &unsavedDocs)
Construct a new Quit Dialog object.
Definition:
QuitDialog.cpp:35
GpgFrontend::UI::QuitDialog
Definition:
QuitDialog.h:41
GpgFrontend::UI::QuitDialog::GetTabIdsToSave
QList< int > GetTabIdsToSave()
Get the Tab Ids To Save object.
Definition:
QuitDialog.cpp:135
src
ui
dialog
QuitDialog.h
Generated by
1.8.17