summaryrefslogtreecommitdiff
path: root/src/network/kernel/qnetworkproxy.cpp
diff options
context:
space:
mode:
authorAndrey Leonov <aleonov@rim.com>2012-10-04 19:37:00 -0400
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-14 03:41:49 +0200
commitc680ca946be60ce9c2629a3fef62c5a29407b355 (patch)
tree22585b6eee0620aca0bc05670b5927e21675e344 /src/network/kernel/qnetworkproxy.cpp
parentce52989b3b955c1e91e8449b77ea6aa5e1b4d5f6 (diff)
downloadqt4-tools-c680ca946be60ce9c2629a3fef62c5a29407b355.tar.gz
Implementation of the BlackBerry Qt Proxy support.
An implementation for BlackBerry devices based on the BPS netstatus API. (backport of qtbase/cf66e41728ae70595365833c9ed00d0e2e6c4200) Change-Id: I155f287274c4d92e0546740b8dbe595ea030b505 Reviewed-by: Peter Hartmann <phartmann@rim.com>
Diffstat (limited to 'src/network/kernel/qnetworkproxy.cpp')
-rw-r--r--src/network/kernel/qnetworkproxy.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/network/kernel/qnetworkproxy.cpp b/src/network/kernel/qnetworkproxy.cpp
index 3b8a5d6cb7..393f049bfb 100644
--- a/src/network/kernel/qnetworkproxy.cpp
+++ b/src/network/kernel/qnetworkproxy.cpp
@@ -1394,6 +1394,12 @@ void QNetworkProxyFactory::setApplicationProxyFactory(QNetworkProxyFactory *fact
SOCKS server for all queries. If SOCKS isn't enabled, it will use
the HTTPS proxy for all TcpSocket and UrlRequest queries.
+ On BlackBerry, this function obtains proxy settings for the default
+ configuration using system configuration. The type will be set based on
+ protocol tag "http", "https", "ftp", respectively. By default, it
+ assumes http type. Proxy username and password are also set during
+ the query using system configuration.
+
On other systems, this function will pick up proxy settings from
the "http_proxy" environment variable. This variable must be a URL
using one of the following schemes: "http", "socks5" or "socks5h".
@@ -1410,6 +1416,11 @@ void QNetworkProxyFactory::setApplicationProxyFactory(QNetworkProxyFactory *fact
\o On Windows platforms, this function may take several seconds to
execute depending on the configuration of the user's system.
+
+ \li On BlackBerry, this function ignores network configuration specified
+ in \a query. Only UrlRequest quieries are supported. SOCKS is not supported.
+ The proxy information is retrieved only for the default configuration.
+ Also, PAC and exclusion lists are currently not supported.
\endlist
*/