summaryrefslogtreecommitdiffstats
path: root/keygendialog.h
blob: 01f4a39a2366b246d99c0463a4baa0b1637e23e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef KEYGENDIALOG_H
#define KEYGENDIALOG_H

#include <QDialog>
#include <QCloseEvent>
#include "configdialog.h"

namespace Ui {
class KeygenDialog;
}

class KeygenDialog : public QDialog
{
    Q_OBJECT

public:
    explicit KeygenDialog(ConfigDialog *parent = 0);
    ~KeygenDialog();

protected:
    void closeEvent(QCloseEvent *event);

private slots:
    void on_passphrase1_textChanged(const QString &arg1);
    void on_passphrase2_textChanged(const QString &arg1);
    void on_checkBox_stateChanged(int arg1);
    void on_email_textChanged(const QString &arg1);
    void on_name_textChanged(const QString &arg1);

private:
    Ui::KeygenDialog *ui;
    void replace(QString, QString);
    void done(int r);
    void no_protection(bool enable);
    ConfigDialog *dialog;

};

#endif // KEYGENDIALOG_H