[Development] Qt 5.6.0 header diff: QtNetwork.diff

Knoll Lars Lars.Knoll at theqtcompany.com
Mon Sep 21 10:23:53 CEST 2015


New APIs:

Added support for redirections:

QNetworkReply::redirected() signal
QNetworkReply::InsecureRedirectError
QNetworkRequest::FollowRedirectsAttribute

These look good to me.


int QNetworkRequest::maximumRedirectsAllowed() const;
void QNetworkRequest::setMaximumRedirectsAllowed(int
maximumRedirectsAllowed);

Shouldn’t this be maximumAllowedRedirects? And the docs are missing the
default value.


QHostAddress::isMulticast()

Looks good.

New SslOptionDisableServerCipherPreference enum. Ok.

All other changes are related to C++11 compatibility (Q_DECL_NOTHROW,
Q_NULLPTR and related).

Cheers,
Lars



More information about the Development mailing list