KSslErrorUiData Class
Header: | #include <KSslErrorUiData> |
CMake: | find_package(KF6 REQUIRED COMPONENTS KIO) target_link_libraries(mytarget PRIVATE KF6::KIOCore) |
Public Functions
KSslErrorUiData() | |
KSslErrorUiData(const QSslSocket *socket) | |
(since 5.62) | KSslErrorUiData(const QNetworkReply *reply, const QList<QSslError> &sslErrors) |
Detailed Description
This class can hold all the necessary data from a QSslSocket or QNetworkReply to ask the user to continue connecting in the face of SSL errors. It can be used to carry the data for the UI over time or over thread boundaries.
See also KSslCertificateManager::askIgnoreSslErrors().
Member Function Documentation
KSslErrorUiData::KSslErrorUiData()
Default construct an instance with no useful data.
KSslErrorUiData::KSslErrorUiData(const QSslSocket *socket)
Create an instance and initialize it with SSL error data from socket.
[since 5.62]
KSslErrorUiData::KSslErrorUiData(const QNetworkReply *reply, const QList<QSslError> &sslErrors)
Create an instance and initialize it with SSL error data from reply.
This function was introduced in 5.62.