#include <qnetworkproxy.h>
Definition at line 123 of file qnetworkproxy.h.
Public Types | |
enum | ProxyType { DefaultProxy, Socks5Proxy, NoProxy, HttpProxy, HttpCachingProxy, FtpCachingProxy } |
enum | Capability { TunnelingCapability = 0x0001, ListeningCapability = 0x0002, UdpTunnelingCapability = 0x0004, CachingCapability = 0x0008, HostNameLookupCapability = 0x0010 } |
Public Member Functions | |
QNetworkProxy () | |
QNetworkProxy (ProxyType type, const QString &hostName=QString(), quint16 port=0, const QString &user=QString(), const QString &password=QString()) | |
QNetworkProxy (const QNetworkProxy &other) | |
QNetworkProxy & | operator= (const QNetworkProxy &other) |
~QNetworkProxy () | |
bool | operator== (const QNetworkProxy &other) const |
bool | operator!= (const QNetworkProxy &other) const |
void | setType (QNetworkProxy::ProxyType type) |
QNetworkProxy::ProxyType | type () const |
void | setCapabilities (Capabilities capab) |
Capabilities | capabilities () const |
bool | isCachingProxy () const |
bool | isTransparentProxy () const |
void | setUser (const QString &userName) |
QString | user () const |
void | setPassword (const QString &password) |
QString | password () const |
void | setHostName (const QString &hostName) |
QString | hostName () const |
void | setPort (quint16 port) |
quint16 | port () const |
Static Public Member Functions | |
static void | setApplicationProxy (const QNetworkProxy &proxy) |
static QNetworkProxy | applicationProxy () |
enum ProxyType |
Enumerator | |
---|---|
DefaultProxy | |
Socks5Proxy | |
NoProxy | |
HttpProxy | |
HttpCachingProxy | |
FtpCachingProxy |
Definition at line 126 of file qnetworkproxy.h.
enum Capability |
Enumerator | |
---|---|
TunnelingCapability | |
ListeningCapability | |
UdpTunnelingCapability | |
CachingCapability | |
HostNameLookupCapability |
Definition at line 135 of file qnetworkproxy.h.
QNetworkProxy | ( | ) |
QNetworkProxy | ( | ProxyType | type, |
const QString & | hostName = QString() , |
||
quint16 | port = 0 , |
||
const QString & | user = QString() , |
||
const QString & | password = QString() |
||
) |
QNetworkProxy | ( | const QNetworkProxy & | other | ) |
~QNetworkProxy | ( | ) |
QNetworkProxy& operator= | ( | const QNetworkProxy & | other | ) |
bool operator== | ( | const QNetworkProxy & | other | ) | const |
|
inline |
Definition at line 151 of file qnetworkproxy.h.
void setType | ( | QNetworkProxy::ProxyType | type | ) |
QNetworkProxy::ProxyType type | ( | ) | const |
void setCapabilities | ( | Capabilities | capab | ) |
Capabilities capabilities | ( | ) | const |
bool isCachingProxy | ( | ) | const |
bool isTransparentProxy | ( | ) | const |
QString user | ( | ) | const |
QString password | ( | ) | const |
QString hostName | ( | ) | const |
quint16 port | ( | ) | const |
|
static |
|
static |