KD SOAP: /home/allen/projects/kdsoap/src/KDSoapClient/KDSoapSslHandler.h Source File

| KD SOAP 2.0.0

KDSoapSslHandler.h
1 /****************************************************************************
2 **
3 ** This file is part of the KD Soap library.
4 **
5 ** SPDX-FileCopyrightText: 2010-2021 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6 **
7 ** SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDAB-KDSoap OR LicenseRef-KDAB-KDSoap-US
8 **
9 ** Licensees holding valid commercial KD Soap licenses may use this file in
10 ** accordance with the KD Soap Commercial License Agreement provided with
11 ** the Software.
12 **
13 ** Contact info@kdab.com if any conditions of this licensing are not clear to you.
14 **
15 ****************************************************************************/
16
17 #ifndef KDSOAPSSLHANDLER_H
18 #define KDSOAPSSLHANDLER_H
19
20 #include <QObject>
21 #include <QSslError>
22 #include "KDSoapGlobal.h"
23
24 QT_BEGIN_NAMESPACE
25 class QNetworkReply;
26 QT_END_NAMESPACE
27
28 #ifndef QT_NO_SSL
29
30 class KDSoapReplySslHandler;
36 class KDSOAP_EXPORT KDSoapSslHandler : public QObject
37 {
38 Q_OBJECT
39 public:
40 Q_SIGNALS:
54 void sslErrors(KDSoapSslHandler *handler, const QList<QSslError> &errors);
55
56 public Q_SLOTS:
69 void ignoreSslErrors();
70
82 void ignoreSslErrors(const QList<QSslError> &errors);
83
84 private:
85 friend class KDSoapReplySslHandler;
86 void handleSslErrors(QNetworkReply *reply, const QList<QSslError> &errors);
87
88 private:
89 friend class KDSoapClientInterface;
90 friend class KDSoapClientInterfacePrivate;
95 explicit KDSoapSslHandler(QObject *parent = nullptr);
96 virtual ~KDSoapSslHandler();
97
98 QNetworkReply *m_reply;
99 };
100
101 #endif // QT_NO_SSL
102
103 #endif // KDSOAPSSLHANDLER_H
QObject::Q_SLOTS
Q_SLOTSQ_SLOTS
KDSoapClientInterface
Definition: KDSoapClientInterface.h:57
QList< QSslError >
KDSoapSslHandler
A class for handling SSL errors during SOAP calls.
Definition: KDSoapSslHandler.h:37
QObject
KDSoapSslHandler::sslErrors
void sslErrors(KDSoapSslHandler *handler, const QList< QSslError > &errors)
Notification of SSL errors.
QObject::Q_SIGNALS
Q_SIGNALSQ_SIGNALS

© 2010-2021 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 on Wed Jun 30 2021 18:19:27 for KD SOAP by doxygen 1.8.20