summaryrefslogtreecommitdiffstats
path: root/pica-client/dialogs/forgedcertdialog.h
blob: bc259d4f1755380f52e8f010d900c310aea5f499 (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
#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