Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/ksslinfodialog.h
Show First 20 Lines • Show All 104 Lines • ▼ Show 20 Line(s) | 104 | void setSslInfo(const QList<QSslCertificate> &certificateChain, | |||
---|---|---|---|---|---|
105 | const QString &ip, const QString &host, | 105 | const QString &ip, const QString &host, | ||
106 | const QString &sslProtocol, const QString &cipher, | 106 | const QString &sslProtocol, const QString &cipher, | ||
107 | int usedBits, int bits, | 107 | int usedBits, int bits, | ||
108 | const QList<QList<QSslError::SslError>> &validationErrors); | 108 | const QList<QList<QSslError::SslError>> &validationErrors); | ||
109 | 109 | | |||
110 | void setMainPartEncrypted(bool); | 110 | void setMainPartEncrypted(bool); | ||
111 | void setAuxiliaryPartsEncrypted(bool); | 111 | void setAuxiliaryPartsEncrypted(bool); | ||
112 | 112 | | |||
113 | static QList<QList<KSslError::Error> > errorsFromString(const QString &s); | 113 | #if KIOCORE_ENABLE_DEPRECATED_SINCE(5, 65) | ||
114 | /** @deprecated since 5.65, use certificateErrorsFromString */ | ||||
115 | KIOCORE_DEPRECATED_VERSION(5, 65, "use the QSslError variant") | ||||
116 | static QList<QList<KSslError::Error> > errorsFromString(const QString &s); // TODO KF6 remove | ||||
117 | #endif | ||||
118 | /** | ||||
119 | * Converts certificate errors as provided in the "ssl_cert_errors" meta data | ||||
120 | * to a list of QSslError::SslError values per certificate in the certificate chain. | ||||
121 | * @since 5.65 | ||||
122 | */ | ||||
123 | static QList<QList<QSslError::SslError>> certificateErrorsFromString(const QString &errorsString); | ||||
nicolasfella: Shouldn't this be 65 now? | |||||
nicolasfella: You missed a spot | |||||
114 | 124 | | |||
115 | private: | 125 | private: | ||
116 | void updateWhichPartsEncrypted(); | 126 | void updateWhichPartsEncrypted(); | ||
117 | 127 | | |||
118 | class KSslInfoDialogPrivate; | 128 | class KSslInfoDialogPrivate; | ||
119 | KSslInfoDialogPrivate *const d; | 129 | KSslInfoDialogPrivate *const d; | ||
120 | 130 | | |||
121 | private Q_SLOTS: | 131 | private Q_SLOTS: | ||
122 | void displayFromChain(int); | 132 | void displayFromChain(int); | ||
123 | }; | 133 | }; | ||
124 | 134 | | |||
125 | #endif | 135 | #endif |
Shouldn't this be 65 now?