QtPass 1.5.1
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: 2016 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;
18class KeygenDialog : public QDialog {
19 Q_OBJECT
20
21public:
22 explicit KeygenDialog(ConfigDialog *parent = 0);
24
25protected:
26 void closeEvent(QCloseEvent *event);
27
28private slots:
29 void on_passphrase1_textChanged(const QString &arg1);
30 void on_passphrase2_textChanged(const QString &arg1);
31 void on_checkBox_stateChanged(int arg1);
32 void on_email_textChanged(const QString &arg1);
33 void on_name_textChanged(const QString &arg1);
34
35private:
36 Ui::KeygenDialog *ui;
37 void replace(const QString &, const QString &);
38 void done(int r);
39 void no_protection(bool enable);
40 ConfigDialog *dialog;
41};
42
43#endif // SRC_KEYGENDIALOG_H_
The ConfigDialog handles the configuration interface.
Handles GPG keypair generation.
void closeEvent(QCloseEvent *event)
KeygenDialog::closeEvent we are done here.
~KeygenDialog()
KeygenDialog::~KeygenDialog even more basic destructor.