MCPcopy Create free account
hub / github.com/IJHack/QtPass / UsersDialog

Method UsersDialog

src/usersdialog.cpp:24–39  ·  view source on GitHub ↗

* @brief UsersDialog::UsersDialog basic constructor * @param dir Password directory * @param parent */

Source from the content-addressed store, hash-verified

22 * @param parent
23 */
24UsersDialog::UsersDialog(const QString &dir, QWidget *parent)
25 : QDialog(parent), ui(new Ui::UsersDialog), m_dir(dir) {
26
27 ui->setupUi(this);
28
29 restoreDialogState();
30 if (!loadGpgKeys()) {
31 connect(ui->buttonBox, &QDialogButtonBox::rejected, this, &QDialog::reject);
32 return;
33 }
34
35 loadRecipients();
36 populateList();
37
38 connectSignals();
39}
40
41void UsersDialog::connectSignals() {
42 connect(ui->buttonBox, &QDialogButtonBox::accepted, this,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected