Qt 4.8
|
#include <qnetworkproxy_p.h>
Public Functions | |
QSystemConfigurationProxyFactory () | |
virtual QList< QNetworkProxy > | queryProxy (const QNetworkProxyQuery &query) |
This function takes the query request, query, examines the details of the type of socket or request and returns a list of QNetworkProxy objects that indicate the proxy servers to be used, in order of preference. More... | |
Public Functions inherited from QNetworkProxyFactory | |
QNetworkProxyFactory () | |
Creates a QNetworkProxyFactory object. More... | |
virtual | ~QNetworkProxyFactory () |
Destroys the QNetworkProxyFactory object. More... | |
Additional Inherited Members | |
Static Public Functions inherited from QNetworkProxyFactory | |
static QList< QNetworkProxy > | proxyForQuery (const QNetworkProxyQuery &query) |
This function takes the query request, query, examines the details of the type of socket or request and returns a list of QNetworkProxy objects that indicate the proxy servers to be used, in order of preference. More... | |
static void | setApplicationProxyFactory (QNetworkProxyFactory *factory) |
Sets the application-wide proxy factory to be factory. More... | |
static void | setUseSystemConfiguration (bool enable) |
Enables the use of the platform-specific proxy settings, and only those. More... | |
static QList< QNetworkProxy > | systemProxyForQuery (const QNetworkProxyQuery &query=QNetworkProxyQuery()) |
This function takes the query request, query, examines the details of the type of socket or request and returns a list of QNetworkProxy objects that indicate the proxy servers to be used, in order of preference. More... | |
Definition at line 61 of file qnetworkproxy_p.h.
|
inline |
Definition at line 64 of file qnetworkproxy_p.h.
|
inlinevirtual |
This function takes the query request, query, examines the details of the type of socket or request and returns a list of QNetworkProxy objects that indicate the proxy servers to be used, in order of preference.
When reimplementing this class, take care to return at least one element.
If you cannot determine a better proxy alternative, use QNetworkProxy::DefaultProxy, which tells the code querying for a proxy to use a higher alternative. For example, if this factory is set to a QNetworkAccessManager object, DefaultProxy will tell it to query the application-level proxy settings.
If this factory is set as the application proxy factory, DefaultProxy and NoProxy will have the same meaning.
Implements QNetworkProxyFactory.
Definition at line 66 of file qnetworkproxy_p.h.