|
QtPass 1.6.0
Multi-platform GUI for pass, the standard unix password manager.
|
Handles GPG keypair generation. More...
#include <keygendialog.h>
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. | |
Handles GPG keypair generation.
Construct the KeygenDialog.
| parent | Optional 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. |
| event | Close event provided by Qt. Update internal state when the first passphrase text changes. |
| arg1 | New passphrase text from the first input field. Update internal state when the confirmation passphrase text changes. |
| arg1 | New passphrase text from the confirmation input field. React to changes of the checkbox controlling protection options. |
| arg1 | New checkbox state (value corresponds to Qt::CheckState). Update internal state when the email text changes. |
| arg1 | New email text from the email input field. Update internal state when the name text changes. |
| arg1 | New name text from the name input field. Perform a text replacement within the dialog using the provided strings. |
| from | Text to be replaced. |
| to | Replacement text. Finalize the dialog with the given result code and perform any necessary teardown. |
| r | Result code passed to QDialog::done. Enable or disable "no protection" behavior for generated keys or inputs. |
| enable | true to enable no-protection mode, false to disable it. |
Definition at line 74 of file keygendialog.h.
|
explicit |
KeygenDialog::KeygenDialog basic constructor.
| parent |
Definition at line 21 of file keygendialog.cpp.
|
override |
KeygenDialog::~KeygenDialog even more basic destructor.
Definition at line 47 of file keygendialog.cpp.
|
overrideprotected |
KeygenDialog::closeEvent we are done here.
| event |
Definition at line 216 of file keygendialog.cpp.