Move the default arguments of fromPath away from the deprecated overload
Move the default arguments to the overload that is not deprecated. This is fully source and binary compatible. Change-Id: I0d2eb491faf8c2164b80c33c4c4f749173b690f5 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>bb10
parent
fd72ed794d
commit
5eb492fb95
|
|
@ -147,18 +147,13 @@ public:
|
|||
QString toText() const;
|
||||
|
||||
#if QT_DEPRECATED_SINCE(5,15)
|
||||
QT_DEPRECATED_X("Use the overload not using QRegExp") static QList<QSslCertificate> fromPath(
|
||||
const QString &path, QSsl::EncodingFormat format = QSsl::Pem,
|
||||
QRegExp::PatternSyntax syntax = QRegExp::FixedString);
|
||||
|
||||
static QList<QSslCertificate> fromPath(
|
||||
const QString &path, QSsl::EncodingFormat format,
|
||||
PatternSyntax syntax);
|
||||
#else
|
||||
static QList<QSslCertificate> fromPath(
|
||||
const QString &path, QSsl::EncodingFormat format = QSsl::Pem,
|
||||
PatternSyntax syntax = FixedString);
|
||||
QT_DEPRECATED_X("Use the overload not using QRegExp")
|
||||
static QList<QSslCertificate> fromPath(const QString &path, QSsl::EncodingFormat format,
|
||||
QRegExp::PatternSyntax syntax);
|
||||
#endif
|
||||
static QList<QSslCertificate> fromPath(const QString &path,
|
||||
QSsl::EncodingFormat format = QSsl::Pem,
|
||||
PatternSyntax syntax = PatternSyntax::FixedString);
|
||||
|
||||
static QList<QSslCertificate> fromDevice(
|
||||
QIODevice *device, QSsl::EncodingFormat format = QSsl::Pem);
|
||||
|
|
|
|||
Loading…
Reference in New Issue