From 56ce6ba9792778e7d6fa1194b41e282633ff81c1 Mon Sep 17 00:00:00 2001 From: Jocelyn Turcotte Date: Tue, 1 Jul 2014 16:38:36 +0200 Subject: 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 --- src/network/kernel/qauthenticator.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/network/kernel/qauthenticator.cpp') 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 @@ -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. -- cgit v1.2.3