![]() |
Qt 6.x
The Qt SDK
|
#include "qnetworkproxy.h"
#include <CFNetwork/CFNetwork.h>
#include <CoreFoundation/CoreFoundation.h>
#include <SystemConfiguration/SystemConfiguration.h>
#include <QtCore/QRegularExpression>
#include <QtCore/QStringList>
#include <QtCore/QUrl>
#include <QtCore/qendian.h>
#include <QtCore/qstringlist.h>
#include <QtCore/qsystemdetection.h>
#include "private/qcore_mac_p.h"
Go to the source code of this file.
Functions | |
static bool | isHostExcluded (CFDictionaryRef dict, const QString &host) |
static QNetworkProxy | proxyFromDictionary (CFDictionaryRef dict, QNetworkProxy::ProxyType type, CFStringRef enableKey, CFStringRef hostKey, CFStringRef portKey) |
static QNetworkProxy | proxyFromDictionary (CFDictionaryRef dict) |
QList< QNetworkProxy > | macQueryInternal (const QNetworkProxyQuery &query) |
|
static |
Definition at line 48 of file qnetworkproxy_darwin.cpp.
References Qt::CaseInsensitive, QString::contains(), enabled, QRegularExpression::fromWildcard(), i, QString::isEmpty(), QHostAddress::isInSubnet(), QHostAddress::parseSubnet(), Q_ASSERT, Q_UNUSED, rx(), and QHostAddress::setAddress().
Referenced by macQueryInternal().
QList< QNetworkProxy > macQueryInternal | ( | const QNetworkProxyQuery & | query | ) |
Definition at line 218 of file qnetworkproxy_darwin.cpp.
References QByteArray::data(), QNetworkProxy::DefaultProxy, enabled, QNetworkProxy::FtpCachingProxy, QNetworkProxy::HttpProxy, i, QByteArray::isEmpty(), isHostExcluded(), proxy, proxyFromDictionary(), qPrintable, qWarning, QByteArray::size(), QNetworkProxy::Socks5Proxy, QString::toLower(), and QNetworkProxy::type().
|
static |
Definition at line 124 of file qnetworkproxy_darwin.cpp.
References QNetworkProxy::DefaultProxy, QNetworkProxy::FtpCachingProxy, QNetworkProxy::HttpProxy, QNetworkProxy::NoProxy, and QNetworkProxy::Socks5Proxy.
|
static |
Definition at line 98 of file qnetworkproxy_darwin.cpp.
References enabled.
Referenced by macQueryInternal().