Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QGlobalNetworkProxy Class Reference
+ Collaboration diagram for QGlobalNetworkProxy:

Public Member Functions

 QGlobalNetworkProxy ()
 
 ~QGlobalNetworkProxy ()
 
bool usesSystemConfiguration () const
 
void setUseSystemConfiguration (bool enable)
 
void setApplicationProxy (const QNetworkProxy &proxy)
 
void setApplicationProxyFactory (QNetworkProxyFactory *factory)
 
QNetworkProxy applicationProxy ()
 
QList< QNetworkProxyproxyForQuery (const QNetworkProxyQuery &query)
 

Detailed Description

Definition at line 217 of file qnetworkproxy.cpp.

Constructor & Destructor Documentation

◆ QGlobalNetworkProxy()

QGlobalNetworkProxy::QGlobalNetworkProxy ( )
inline

Definition at line 220 of file qnetworkproxy.cpp.

◆ ~QGlobalNetworkProxy()

QGlobalNetworkProxy::~QGlobalNetworkProxy ( )
inline

Definition at line 243 of file qnetworkproxy.cpp.

Member Function Documentation

◆ applicationProxy()

QNetworkProxy QGlobalNetworkProxy::applicationProxy ( )
inline

Definition at line 296 of file qnetworkproxy.cpp.

References QList< T >::constFirst(), and proxyForQuery().

+ Here is the call graph for this function:

◆ proxyForQuery()

QList< QNetworkProxy > QGlobalNetworkProxy::proxyForQuery ( const QNetworkProxyQuery & query)

Definition at line 316 of file qnetworkproxy.cpp.

References QNetworkProxy::DefaultProxy, QHostAddress::isLoopback(), QNetworkProxy::NoProxy, QNetworkProxyFactory::queryProxy(), qWarning, QHostAddress::setAddress(), QString::startsWith(), QNetworkProxyFactory::systemProxyForQuery(), and QNetworkProxy::type().

Referenced by applicationProxy().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setApplicationProxy()

void QGlobalNetworkProxy::setApplicationProxy ( const QNetworkProxy & proxy)
inline

Definition at line 273 of file qnetworkproxy.cpp.

References lock, and proxy.

◆ setApplicationProxyFactory()

void QGlobalNetworkProxy::setApplicationProxyFactory ( QNetworkProxyFactory * factory)
inline

Definition at line 284 of file qnetworkproxy.cpp.

References factory, and lock.

◆ setUseSystemConfiguration()

void QGlobalNetworkProxy::setUseSystemConfiguration ( bool enable)
inline

Definition at line 260 of file qnetworkproxy.cpp.

References lock.

◆ usesSystemConfiguration()

bool QGlobalNetworkProxy::usesSystemConfiguration ( ) const
inline

Definition at line 255 of file qnetworkproxy.cpp.


The documentation for this class was generated from the following file: