QtPass 1.6.0
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
KeygenDialog Class Reference

Handles GPG keypair generation. More...

#include <keygendialog.h>

Inheritance diagram for KeygenDialog:
Collaboration diagram for KeygenDialog:

Public Member Functions

 KeygenDialog (ConfigDialog *parent=nullptr)
 KeygenDialog::KeygenDialog basic constructor.
 ~KeygenDialog () override
 KeygenDialog::~KeygenDialog even more basic destructor.

Protected Member Functions

void closeEvent (QCloseEvent *event) override
 KeygenDialog::closeEvent we are done here.

Detailed Description

Handles GPG keypair generation.

Construct the KeygenDialog.

Parameters
parentOptional parent ConfigDialog used to return to config UI. Destroy the KeygenDialog and release associated resources. Handle the widget close event to perform any cleanup or confirm actions before closing.
eventClose event provided by Qt. Update internal state when the first passphrase text changes.
arg1New passphrase text from the first input field. Update internal state when the confirmation passphrase text changes.
arg1New passphrase text from the confirmation input field. React to changes of the checkbox controlling protection options.
arg1New checkbox state (value corresponds to Qt::CheckState). Update internal state when the email text changes.
arg1New email text from the email input field. Update internal state when the name text changes.
arg1New name text from the name input field. Perform a text replacement within the dialog using the provided strings.
fromText to be replaced.
toReplacement text. Finalize the dialog with the given result code and perform any necessary teardown.
rResult code passed to QDialog::done. Enable or disable "no protection" behavior for generated keys or inputs.
enabletrue to enable no-protection mode, false to disable it.
Examples
/home/annejan/Projects/QtPass/src/configdialog.cpp.

Definition at line 74 of file keygendialog.h.

Constructor & Destructor Documentation

◆ KeygenDialog()

KeygenDialog::KeygenDialog ( ConfigDialog * parent = nullptr)
explicit

KeygenDialog::KeygenDialog basic constructor.

Parameters
parent

Definition at line 21 of file keygendialog.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~KeygenDialog()

KeygenDialog::~KeygenDialog ( )
override

KeygenDialog::~KeygenDialog even more basic destructor.

Definition at line 47 of file keygendialog.cpp.

Member Function Documentation

◆ closeEvent()

void KeygenDialog::closeEvent ( QCloseEvent * event)
overrideprotected

KeygenDialog::closeEvent we are done here.

Parameters
event

Definition at line 216 of file keygendialog.cpp.

Here is the call graph for this function:

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