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
qnetworkproxy_win.cpp File Reference

(aa37e67ef7f5ff22da0ef95fb5221bc1fff9b3ca)

#include "qnetworkproxy.h"
#include <qmutex.h>
#include <qstringlist.h>
#include <qregularexpression.h>
#include <qurl.h>
#include <qnetworkinterface.h>
#include <qdebug.h>
#include <qvarlengtharray.h>
#include <qhash.h>
#include <string.h>
#include <qt_windows.h>
#include <lmcons.h>
#include <winhttp.h>
+ Include dependency graph for qnetworkproxy_win.cpp:

Go to the source code of this file.

Classes

class  QWindowsSystemProxy
 

Functions

static bool currentProcessIsService ()
 
static QStringList splitSpaceSemicolon (const QString &source)
 
static bool isBypassed (const QString &host, const QStringList &bypassList)
 
static QList< QNetworkProxyfilterProxyListByCapabilities (const QList< QNetworkProxy > &proxyList, const QNetworkProxyQuery &query)
 
static QList< QNetworkProxyremoveDuplicateProxies (const QList< QNetworkProxy > &proxyList)
 
static QList< QNetworkProxyparseServerList (const QNetworkProxyQuery &query, const QStringList &proxyList)
 

Function Documentation

◆ currentProcessIsService()

static bool currentProcessIsService ( )
static

Definition at line 26 of file qnetworkproxy_win.cpp.

Referenced by QWindowsSystemProxy::init().

+ Here is the caller graph for this function:

◆ filterProxyListByCapabilities()

static QList< QNetworkProxy > filterProxyListByCapabilities ( const QList< QNetworkProxy > & proxyList,
const QNetworkProxyQuery & query )
static

Definition at line 118 of file qnetworkproxy_win.cpp.

References QNetworkProxy::capabilities(), QNetworkProxy::ListeningCapability, proxy, QNetworkProxy::SctpListeningCapability, QNetworkProxyQuery::SctpServer, QNetworkProxyQuery::SctpSocket, QNetworkProxy::SctpTunnelingCapability, QNetworkProxyQuery::TcpServer, QNetworkProxyQuery::TcpSocket, QNetworkProxy::TunnelingCapability, QNetworkProxyQuery::UdpSocket, and QNetworkProxy::UdpTunnelingCapability.

Referenced by parseServerList().

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

◆ isBypassed()

static bool isBypassed ( const QString & host,
const QStringList & bypassList )
static

Definition at line 72 of file qnetworkproxy_win.cpp.

References QNetworkInterface::allInterfaces(), Qt::CaseInsensitive, QString::contains(), QRegularExpression::fromWildcard(), QString::isEmpty(), QHostAddress::parseSubnet(), rx(), and QHostAddress::setAddress().

+ Here is the call graph for this function:

◆ parseServerList()

◆ removeDuplicateProxies()

static QList< QNetworkProxy > removeDuplicateProxies ( const QList< QNetworkProxy > & proxyList)
static

Definition at line 149 of file qnetworkproxy_win.cpp.

References append(), QString::at(), QNetworkProxy::hostName(), QNetworkProxy::HttpProxy, i, QNetworkProxy::port(), proxy, and QNetworkProxy::type().

Referenced by parseServerList().

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

◆ splitSpaceSemicolon()

static QStringList splitSpaceSemicolon ( const QString & source)
static

Definition at line 48 of file qnetworkproxy_win.cpp.

References QList< T >::append(), QListSpecialMethodsBase< T >::indexOf(), and list.

Referenced by QWindowsSystemProxy::init().

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