blob: 83d740b72bef77aec210665d459aeec5dfe66481 (
plain) (
blame)
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
40
41
|
#ifndef NEWIDENTITIYDIALOG_HPP
#define NEWIDENTITIYDIALOG_HPP
#include <QDialog>
#include "cryptoidentity.hpp"
namespace Ui {
class NewIdentitiyDialog;
}
class NewIdentitiyDialog : public QDialog
{
Q_OBJECT
public:
explicit NewIdentitiyDialog(QWidget *parent = nullptr);
~NewIdentitiyDialog();
//! Creates a new identity from the currently set
//! user settings.
CryptoIdentity createIdentity() const;
QString groupName() const;
void setGroupName(QString const & name);
private slots:
void on_group_editTextChanged(const QString &arg1);
void on_display_name_textChanged(const QString &arg1);
void on_common_name_textChanged(const QString &arg1);
private:
void updateUI();
private:
Ui::NewIdentitiyDialog *ui;
};
#endif // NEWIDENTITIYDIALOG_HPP
|