summaryrefslogtreecommitdiffstats
path: root/keygendialog.h
blob: 4cb34affb6d25d2b585ae93754e538297ff353df (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 "dialog.h"

namespace Ui {
class KeygenDialog;
}

class KeygenDialog : public QDialog
{
    Q_OBJECT

public:
    explicit KeygenDialog(Dialog *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);
    Dialog *dialog;

};

#endif // KEYGENDIALOG_H