Changeset View
Changeset View
Standalone View
Standalone View
src/core/ksslerror_p.h
Show All 18 Lines | |||||
19 | 19 | | |||
20 | 20 | | |||
21 | #ifndef KSSLERROR_P_H | 21 | #ifndef KSSLERROR_P_H | ||
22 | #define KSSLERROR_P_H | 22 | #define KSSLERROR_P_H | ||
23 | 23 | | |||
24 | #include "kiocore_export.h" | 24 | #include "kiocore_export.h" | ||
25 | #include "ktcpsocket.h" | 25 | #include "ktcpsocket.h" | ||
26 | 26 | | |||
27 | #if KIOCORE_BUILD_DEPRECATED_SINCE(5, 65) | ||||
27 | class KSslErrorPrivate | 28 | class KSslErrorPrivate | ||
28 | { | 29 | { | ||
29 | public: | 30 | public: | ||
30 | KIOCORE_EXPORT static KSslError::Error errorFromQSslError(QSslError::SslError e); | 31 | KIOCORE_EXPORT static KSslError::Error errorFromQSslError(QSslError::SslError e); | ||
31 | KIOCORE_EXPORT static QSslError::SslError errorFromKSslError(KSslError::Error e); | 32 | KIOCORE_EXPORT static QSslError::SslError errorFromKSslError(KSslError::Error e); | ||
32 | 33 | | |||
33 | QSslError error; | 34 | QSslError error; | ||
34 | }; | 35 | }; | ||
36 | #endif | ||||
35 | 37 | | |||
36 | #endif | 38 | #endif |