![]() |
Qt 6.x
The Qt SDK
|
#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>
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< QNetworkProxy > | filterProxyListByCapabilities (const QList< QNetworkProxy > &proxyList, const QNetworkProxyQuery &query) |
static QList< QNetworkProxy > | removeDuplicateProxies (const QList< QNetworkProxy > &proxyList) |
static QList< QNetworkProxy > | parseServerList (const QNetworkProxyQuery &query, const QStringList &proxyList) |
|
static |
Definition at line 26 of file qnetworkproxy_win.cpp.
References QVarLengthArray< T, Prealloc >::data().
Referenced by QWindowsSystemProxy::init().
|
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().
|
static |
Definition at line 72 of file qnetworkproxy_win.cpp.
References QNetworkInterface::allInterfaces(), Qt::CaseInsensitive, QString::contains(), QRegularExpression::fromWildcard(), QString::isEmpty(), QHostAddress::isInSubnet(), QHostAddress::isLoopback(), QHostAddress::parseSubnet(), rx(), and QHostAddress::setAddress().
|
static |
Definition at line 169 of file qnetworkproxy_win.cpp.
References QHash< Key, T >::contains(), filterProxyListByCapabilities(), QNetworkProxy::FtpCachingProxy, QNetworkProxy::HttpCachingProxy, QNetworkProxy::HttpProxy, i, QHash< Key, T >::insert(), QString::isEmpty(), QStringView::isEmpty(), QStringView::left(), QStringView::mid(), ok, pos, removeDuplicateProxies(), QNetworkProxyQuery::SctpServer, server, QNetworkProxy::Socks5Proxy, QNetworkProxyQuery::TcpServer, QStringView::toString(), QStringView::toUInt(), QNetworkProxy::type(), QNetworkProxyQuery::UrlRequest, and QHash< Key, T >::value().
|
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().
|
static |
Definition at line 48 of file qnetworkproxy_win.cpp.
References QList< T >::append(), and list.
Referenced by QWindowsSystemProxy::init().