Allow a network configuration to be included in a proxy query
authorShane Kearns <shane.kearns@accenture.com>
Fri, 15 Apr 2011 13:09:43 +0000 (14:09 +0100)
committerMarkus Goetz <Markus.Goetz@nokia.com>
Mon, 9 May 2011 11:14:37 +0000 (13:14 +0200)
commitf0f55cd59f72887e4d80ef5ba752400777458be0
treec1f5cdc5210f8e9ca78ae69fffdac8e312ca4fa6
parent279883fdf159f3398fa8153b2d6ffe8f3a1ba85b
Allow a network configuration to be included in a proxy query

When Qt is compiled with bearer management support, the network
configuration can be included as a parameter in QNetworkProxyQuery.

This allows QNetworkProxyFactory::systemProxyForQuery to get the right
proxy setting for a specific network. For example a mobile phone could
have network configurations for home WLAN, work WLAN and 3G data
access points, each with different proxy configurations.

Task-number: QTBUG-18618
Reviewed-by: Peter Hartmann
src/network/kernel/qnetworkproxy.cpp
src/network/kernel/qnetworkproxy.h
src/network/kernel/qnetworkproxy_symbian.cpp