QtPass  1.2.0-pre
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 "configdialog.h"
5 #include <QCloseEvent>
6 #include <QDialog>
7 
8 namespace Ui {
9 class KeygenDialog;
10 }
11 
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_
Handles GPG keypair generation.
Definition: keygendialog.h:16
The ConfigDialog handles the configuration interface.
Definition: configdialog.h:22