QNetworkProxy

#include <QtNetwork/QNetworkProxy>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QNetworkProxy


Overview

Public Functions Index

QNetworkProxy ()
QNetworkProxy (ProxyType type, const QString &hostName=QString(), quint16 port=0, const QString &user=QString(), const QString &password=QString())
QNetworkProxy (const QNetworkProxy &other)
~QNetworkProxy ()
Capabilitiescapabilities () const
QStringhostName () const
boolisCachingProxy () const
boolisTransparentProxy () const
booloperator!= (const QNetworkProxy &other) const
QNetworkProxy &operator= (const QNetworkProxy &other)
booloperator== (const QNetworkProxy &other) const
QStringpassword () const
quint16port () const
voidsetCapabilities (Capabilities capab)
voidsetHostName (const QString &hostName)
voidsetPassword (const QString &password)
voidsetPort (quint16 port)
voidsetType (QNetworkProxy::ProxyType type)
voidsetUser (const QString &userName)
QNetworkProxy::ProxyTypetype () const
QStringuser () const

Static Public Functions Index

QNetworkProxyapplicationProxy ()
voidsetApplicationProxy (const QNetworkProxy &proxy)

Public Types

Capability

TunnelingCapability 0x0001
ListeningCapability 0x0002
UdpTunnelingCapability 0x0004
CachingCapability 0x0008
HostNameLookupCapability 0x0010

ProxyType

DefaultProxy
Socks5Proxy
NoProxy
HttpProxy
HttpCachingProxy
FtpCachingProxy

Public Functions

QNetworkProxy ()

QNetworkProxy (

QNetworkProxy (

~QNetworkProxy ()

Destructor.

Capabilities capabilities ()

QString hostName ()

bool isCachingProxy ()

bool isTransparentProxy ()

bool operator!= (

QNetworkProxy & operator= (

bool operator== (

QString password ()

quint16 port ()

void setCapabilities (
  • Capabilitiescapab)

void setHostName (

void setPassword (

void setPort (
  • quint16port)

void setType (
  • QNetworkProxy::ProxyTypetype)

void setUser (

QNetworkProxy::ProxyType type ()

QString user ()

Static Public Functions

QNetworkProxy applicationProxy ()

void setApplicationProxy (

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus