QtPass 1.6.0
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
keygendialog.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2015 Anne Jan Brouwer
2// SPDX-License-Identifier: GPL-3.0-or-later
3#ifndef SRC_KEYGENDIALOG_H_
4#define SRC_KEYGENDIALOG_H_
5
6#include <QDialog>
7
8namespace Ui {
9class KeygenDialog;
10}
11
16class ConfigDialog;
17class QCloseEvent;
22
26
32
37
42
47
52
57
63
69
74class KeygenDialog : public QDialog {
75 Q_OBJECT
76
77public:
78 explicit KeygenDialog(ConfigDialog *parent = nullptr);
79 ~KeygenDialog() override;
80
81protected:
82 void closeEvent(QCloseEvent *event) override;
83
84private slots:
85 void on_passphrase1_textChanged(const QString &arg1);
86 void on_passphrase2_textChanged(const QString &arg1);
87 void on_checkBox_stateChanged(int arg1);
88 void on_email_textChanged(const QString &arg1);
89 void on_name_textChanged(const QString &arg1);
90
91private:
92 Ui::KeygenDialog *ui;
93 void replace(const QString &, const QString &);
94 void done(int r) override;
95 void no_protection(bool enable);
96 ConfigDialog *dialog;
97};
98
99#endif // SRC_KEYGENDIALOG_H_
The ConfigDialog handles the configuration interface.
void closeEvent(QCloseEvent *event) override
KeygenDialog::closeEvent we are done here.
KeygenDialog(ConfigDialog *parent=nullptr)
KeygenDialog::KeygenDialog basic constructor.
~KeygenDialog() override
KeygenDialog::~KeygenDialog even more basic destructor.