QtPass  1.2.3
Multi-platform GUI for pass, the standard unix password manager.
keygendialog.h
Go to the documentation of this file.
1 #ifndef KEYGENDIALOG_H_
2 #define KEYGENDIALOG_H_
3 
4 #include <QDialog>
5 
6 namespace Ui {
7 class KeygenDialog;
8 }
9 
14 class ConfigDialog;
15 class QCloseEvent;
16 class KeygenDialog : public QDialog {
17  Q_OBJECT
18 
19 public:
20  explicit KeygenDialog(ConfigDialog *parent = 0);
21  ~KeygenDialog();
22 
23 protected:
24  void closeEvent(QCloseEvent *event);
25 
26 private slots:
27  void on_passphrase1_textChanged(const QString &arg1);
28  void on_passphrase2_textChanged(const QString &arg1);
29  void on_checkBox_stateChanged(int arg1);
30  void on_email_textChanged(const QString &arg1);
31  void on_name_textChanged(const QString &arg1);
32 
33 private:
34  Ui::KeygenDialog *ui;
35  void replace(QString, QString);
36  void done(int r);
37  void no_protection(bool enable);
38  ConfigDialog *dialog;
39 };
40 
41 #endif // KEYGENDIALOG_H_
void closeEvent(QCloseEvent *event)
KeygenDialog::closeEvent we are done here.
Definition: configdialog.h:9
Handles GPG keypair generation.
Definition: keygendialog.h:16
~KeygenDialog()
KeygenDialog::~KeygenDialog even more basic destructor.
KeygenDialog(ConfigDialog *parent=0)
KeygenDialog::KeygenDialog basic constructor.
The ConfigDialog handles the configuration interface.
Definition: configdialog.h:24