Qt 4.8
Public Functions | Public Variables | List of all members
QNetworkProxyPrivate Class Reference
Inheritance diagram for QNetworkProxyPrivate:
QSharedData

Public Functions

bool operator== (const QNetworkProxyPrivate &other) const
 
 QNetworkProxyPrivate (QNetworkProxy::ProxyType t=QNetworkProxy::DefaultProxy, const QString &h=QString(), quint16 p=0, const QString &u=QString(), const QString &pw=QString())
 
- Public Functions inherited from QSharedData
 QSharedData ()
 Constructs a QSharedData object with a reference count of 0. More...
 
 QSharedData (const QSharedData &)
 Constructs a QSharedData object with reference count 0. More...
 

Public Variables

QNetworkProxy::Capabilities capabilities
 
bool capabilitiesSet
 
QString hostName
 
QString password
 
quint16 port
 
QNetworkProxy::ProxyType type
 
QString user
 
- Public Variables inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 393 of file qnetworkproxy.cpp.

Constructors and Destructors

◆ QNetworkProxyPrivate()

QNetworkProxyPrivate::QNetworkProxyPrivate ( QNetworkProxy::ProxyType  t = QNetworkProxy::DefaultProxy,
const QString h = QString(),
quint16  p = 0,
const QString u = QString(),
const QString pw = QString() 
)
inline

Definition at line 404 of file qnetworkproxy.cpp.

407  : hostName(h),
408  user(u),
409  password(pw),
411  port(p),
412  type(t),
413  capabilitiesSet(false)
414  { }
static QNetworkProxy::Capabilities defaultCapabilitiesForType(QNetworkProxy::ProxyType type)
QNetworkProxy::ProxyType type
QNetworkProxy::Capabilities capabilities

Functions

◆ operator==()

bool QNetworkProxyPrivate::operator== ( const QNetworkProxyPrivate other) const
inline

Definition at line 416 of file qnetworkproxy.cpp.

417  {
418  return type == other.type &&
419  port == other.port &&
420  hostName == other.hostName &&
421  user == other.user &&
422  password == other.password &&
423  capabilities == other.capabilities;
424  }
QNetworkProxy::ProxyType type
QNetworkProxy::Capabilities capabilities

Properties

◆ capabilities

QNetworkProxy::Capabilities QNetworkProxyPrivate::capabilities

◆ capabilitiesSet

bool QNetworkProxyPrivate::capabilitiesSet

Definition at line 402 of file qnetworkproxy.cpp.

Referenced by QNetworkProxy::setCapabilities(), and QNetworkProxy::setType().

◆ hostName

QString QNetworkProxyPrivate::hostName

◆ password

QString QNetworkProxyPrivate::password

◆ port

quint16 QNetworkProxyPrivate::port

Definition at line 400 of file qnetworkproxy.cpp.

Referenced by operator==(), QNetworkProxy::port(), and QNetworkProxy::setPort().

◆ type

QNetworkProxy::ProxyType QNetworkProxyPrivate::type

◆ user

QString QNetworkProxyPrivate::user

Definition at line 397 of file qnetworkproxy.cpp.

Referenced by operator==(), QNetworkProxy::setUser(), and QNetworkProxy::user().


The documentation for this class was generated from the following file: