KD SOAP API Documentation 2.2
Loading...
Searching...
No Matches
KDSoapReplySslHandler.cpp
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#include <QNetworkReply> //krazy:exclude=includes must come first to define QT_NO_SSL
12
13#ifndef QT_NO_SSL
14
16#include "KDSoapSslHandler.h"
17
19 : QObject(reply)
20 , m_handler(handler)
21{
22 Q_ASSERT(reply);
24 QObject::connect(reply, &QNetworkReply::sslErrors, this, &KDSoapReplySslHandler::slotReplySslErrors);
25}
26
27void KDSoapReplySslHandler::slotReplySslErrors(const QList<QSslError> &errors)
28{
30 Q_ASSERT(reply);
31 m_handler->handleSslErrors(reply, errors);
32}
33
34#endif
KDSoapReplySslHandler(QNetworkReply *reply, KDSoapSslHandler *handler)
A class for handling SSL errors during SOAP calls.
void sslErrors(const QList< QSslError > &errors)
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const const
T qobject_cast(QObject *object)

© 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 Sat Apr 20 2024 00:04:25 for KD SOAP API Documentation by doxygen 1.9.8