+
+// ==============================
+// Various Dialogs
+// ==============================
+class CreateIdentityDlg : public QDialog
+{
+ Q_OBJECT
+
+public:
+ CreateIdentityDlg(QAbstractItemModel *model, QWidget *parent = 0);
+
+ QString identityName() const;
+ IdentityId duplicateId() const;
+
+private slots:
+ void on_identityName_textChanged(const QString &text);
+
+private:
+ Ui::CreateIdentityDlg ui;
+};
+
+
+class SaveIdentitiesDlg : public QDialog
+{
+ Q_OBJECT
+
+public:
+ SaveIdentitiesDlg(const QList<CertIdentity *> &toCreate, const QList<CertIdentity *> &toUpdate, const QList<IdentityId> &toRemove, QWidget *parent = 0);
+
+private slots:
+ void clientEvent();
+
+private:
+ Ui::SaveIdentitiesDlg ui;
+
+ int numevents, rcvevents;
+};
+
+