KD SOAP API Documentation  2.2
KDSoapSslHandler.h
Go to the documentation of this file.
1 /****************************************************************************
2 **
3 ** This file is part of the KD Soap project.
4 **
5 ** SPDX-FileCopyrightText: 2010 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6 **
7 ** SPDX-License-Identifier: MIT
8 **
9 ****************************************************************************/
10 
11 #ifndef KDSOAPSSLHANDLER_H
12 #define KDSOAPSSLHANDLER_H
13 
14 #include "KDSoapGlobal.h"
15 #include <QObject>
16 #include <QSslError>
17 
18 QT_BEGIN_NAMESPACE
19 class QNetworkReply;
20 QT_END_NAMESPACE
21 
22 #ifndef QT_NO_SSL
23 
30 class KDSOAP_EXPORT KDSoapSslHandler : public QObject
31 {
32  Q_OBJECT
33 public:
34 Q_SIGNALS:
48  void sslErrors(KDSoapSslHandler *handler, const QList<QSslError> &errors);
49 
50 public Q_SLOTS:
63  void ignoreSslErrors();
64 
76  void ignoreSslErrors(const QList<QSslError> &errors);
77 
78 private:
79  friend class KDSoapReplySslHandler;
80  void handleSslErrors(QNetworkReply *reply, const QList<QSslError> &errors);
81 
82 private:
83  friend class KDSoapClientInterface;
89  explicit KDSoapSslHandler(QObject *parent = nullptr);
90  virtual ~KDSoapSslHandler();
91 
92  QNetworkReply *m_reply;
93 };
94 
95 #endif // QT_NO_SSL
96 
97 #endif // KDSOAPSSLHANDLER_H
#define KDSOAP_EXPORT
Definition: KDSoapGlobal.h:22
A class for handling SSL errors during SOAP calls.
void sslErrors(KDSoapSslHandler *handler, const QList< QSslError > &errors)
Notification of SSL errors.

© 2010-2024 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-soap/
Generated by doxygen 1.9.1