GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgFrontend::UI::QuitDialog Class Reference
Inheritance diagram for GpgFrontend::UI::QuitDialog:
Inheritance graph
Collaboration diagram for GpgFrontend::UI::QuitDialog:
Collaboration graph

Public Member Functions

 QuitDialog (QWidget *parent, const QHash< int, QString > &unsavedDocs)
 Construct a new Quit Dialog object. More...
 
auto IsDiscarded () const -> bool
 
auto GetTabIdsToSave () -> QList< int >
 Get the Tab Ids To Save object. More...
 
- Public Member Functions inherited from GpgFrontend::UI::GeneralDialog
 GeneralDialog (QString name, QWidget *parent=nullptr)
 

Private Slots

void slot_my_discard ()
 

Private Attributes

bool discarded_
 
QTableWidget * m_fileList_
 

Additional Inherited Members

- Protected Member Functions inherited from GpgFrontend::UI::GeneralDialog
void setPosCenterOfScreen ()
 
void movePosition2CenterOfParent ()
 
auto isRectRestored () -> bool
 
void showEvent (QShowEvent *event) override
 

Constructor & Destructor Documentation

◆ QuitDialog()

GpgFrontend::UI::QuitDialog::QuitDialog ( QWidget *  parent,
const QHash< int, QString > &  unsavedDocs 
)

Construct a new Quit Dialog object.

Parameters
parent
unsavedDocs

Member Function Documentation

◆ GetTabIdsToSave()

auto GpgFrontend::UI::QuitDialog::GetTabIdsToSave ( ) -> QList<int>

Get the Tab Ids To Save object.

Returns
QList<int>

Referenced by GpgFrontend::UI::TextEdit::MaybeSaveAnyTab().

◆ IsDiscarded()

auto GpgFrontend::UI::QuitDialog::IsDiscarded ( ) const -> bool
Returns
true
false

Referenced by GpgFrontend::UI::TextEdit::MaybeSaveAnyTab().


The documentation for this class was generated from the following files: