Qt 4.8
|
Public Functions | |
NetworkProxyFactory () | |
QList< QNetworkProxy > | queryProxy (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... | |
Properties | |
ProxyConf | proxy_conf |
bool | proxy_data_read |
Additional Inherited Members | |
Private Functions inherited from QNetworkProxyFactory | |
QNetworkProxyFactory () | |
Creates a QNetworkProxyFactory object. More... | |
virtual | ~QNetworkProxyFactory () |
Destroys the QNetworkProxyFactory object. More... | |
Static Private 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 145 of file proxyconf.cpp.
|
inline |
Definition at line 151 of file proxyconf.cpp.
|
virtual |
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 156 of file proxyconf.cpp.
|
private |
Definition at line 147 of file proxyconf.cpp.
|
private |
Definition at line 148 of file proxyconf.cpp.