KIO
ksslcertificatebox.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KSSLCERTIFICATEBOX_H
00022 #define KSSLCERTIFICATEBOX_H
00023
00024 #include "kio_export.h"
00025
00026 #include <QtGui/QWidget>
00027
00028 class QSslCertificate;
00029
00030 class KSslCertificateBoxPrivate;
00031
00032 class KIO_EXPORT KSslCertificateBox : public QWidget
00033 {
00034 Q_OBJECT
00035 public:
00036 enum CertificateParty {
00037 Subject = 0,
00038 Issuer
00039 };
00040
00041 explicit KSslCertificateBox(QWidget *parent = 0);
00042 ~KSslCertificateBox();
00043
00044 void setCertificate(const QSslCertificate &cert, CertificateParty party);
00045 void clear();
00046
00047 KSslCertificateBoxPrivate *const d;
00048 };
00049
00050 #endif // KSSLCERTIFICATEBOX_H