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
parent
3b28d3d1c0
commit
56ce6ba979
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue