Expose internally QAuthenticator::setRealm

This allows QtWebEngine to use the class API on top of the
Chromium network stack.

Change-Id: If595e30cfa6ecdc62cba8453d8f57ddccc1793d9
Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
bb10
Jocelyn Turcotte 2014-07-01 16:38:36 +02:00
parent 3b28d3d1c0
commit 56ce6ba979
2 changed files with 10 additions and 0 deletions

View File

@ -281,6 +281,15 @@ QString QAuthenticator::realm() const
return d ? d->realm : QString();
}
/*!
\internal
*/
void QAuthenticator::setRealm(const QString &realm)
{
detach();
d->realm = realm;
}
/*!
\since 4.7
Returns the value related to option \a opt if it was set by the server.

View File

@ -70,6 +70,7 @@ public:
void setPassword(const QString &password);
QString realm() const;
void setRealm(const QString &realm);
QVariant option(const QString &opt) const;
QVariantHash options() const;