QuitDialog.h
#ifndef __QUITDIALOG_H__
#define __QUITDIALOG_H__
#include "ui/GpgFrontendUI.h"
#include "ui/dialog/GeneralDialog.h"
namespace GpgFrontend::UI {
class QuitDialog : public GeneralDialog {
Q_OBJECT
public:
QuitDialog(QWidget* parent, const QHash<int, QString>& unsavedDocs);
[[nodiscard]] bool IsDiscarded() const;
QList<int> GetTabIdsToSave();
private slots:
void slot_my_discard();
private:
bool discarded_;
QTableWidget* m_fileList_;
};
} // namespace GpgFrontend::UI
#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