diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2014-07-01 16:38:36 +0200 |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2014-07-07 15:04:45 +0200 |
commit | 56ce6ba9792778e7d6fa1194b41e282633ff81c1 (patch) | |
tree | 7a612735efe57837a6afb4ce45e403ec7b36690d /src/network/kernel/qauthenticator.cpp | |
parent | 3b28d3d1c0dd4020402029f38948707bf07d62c8 (diff) |
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>
Diffstat (limited to 'src/network/kernel/qauthenticator.cpp')
-rw-r--r-- | src/network/kernel/qauthenticator.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/network/kernel/qauthenticator.cpp b/src/network/kernel/qauthenticator.cpp index f7b956651f..ea935869fb 100644 --- a/src/network/kernel/qauthenticator.cpp +++ b/src/network/kernel/qauthenticator.cpp @@ -282,6 +282,15 @@ QString QAuthenticator::realm() const } /*! + \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. See \l{QAuthenticator#Options} for more information on incoming options. |