summaryrefslogtreecommitdiffstats
path: root/pica-client/dialogs/forgedcertdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'pica-client/dialogs/forgedcertdialog.h')
-rw-r--r--pica-client/dialogs/forgedcertdialog.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/pica-client/dialogs/forgedcertdialog.h b/pica-client/dialogs/forgedcertdialog.h
new file mode 100644
index 0000000..bc259d4
--- /dev/null
+++ b/pica-client/dialogs/forgedcertdialog.h
@@ -0,0 +1,34 @@
+#ifndef FORGEDCERTDIALOG_H
+#define FORGEDCERTDIALOG_H
+
+#include <QDialog>
+#include <QPushButton>
+#include "viewcertdialog.h"
+
+class ForgedCertDialog : public QDialog
+{
+ Q_OBJECT
+public:
+ explicit ForgedCertDialog(quint32 peer_id, QString received_cert, QString stored_cert, QWidget *parent = 0);
+
+private:
+ QString received_cert_;
+ QString stored_cert_;
+
+ QPushButton *btOK;
+ QPushButton *btShow_stored_cert;
+ QPushButton *btShow_received_cert;
+
+
+signals:
+
+public slots:
+
+private slots:
+ void OK();
+ void StoredCert();
+ void ReceivedCert();
+
+};
+
+#endif // FORGEDCERTDIALOG_H