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

Public Functions

bool operator== (const QNetworkRequestPrivate &other) const
 
 QNetworkRequestPrivate ()
 
 QNetworkRequestPrivate (const QNetworkRequestPrivate &other)
 
 ~QNetworkRequestPrivate ()
 
- 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 Functions inherited from QNetworkHeadersPrivate
RawHeadersList allRawHeaders () const
 
RawHeadersList::ConstIterator findRawHeader (const QByteArray &key) const
 
QList< QByteArrayrawHeadersKeys () const
 
void setAllRawHeaders (const RawHeadersList &list)
 Sets the internal raw headers list to match list. More...
 
void setCookedHeader (QNetworkRequest::KnownHeaders header, const QVariant &value)
 
void setRawHeader (const QByteArray &key, const QByteArray &value)
 

Public Variables

QNetworkRequest::Priority priority
 
QSslConfigurationsslConfiguration
 
QUrl url
 
- Public Variables inherited from QSharedData
QAtomicInt ref
 
- Public Variables inherited from QNetworkHeadersPrivate
AttributesMap attributes
 
CookedHeadersMap cookedHeaders
 
QWeakPointer< QObjectoriginatingObject
 
RawHeadersList rawHeaders
 

Additional Inherited Members

- Public Types inherited from QNetworkHeadersPrivate
typedef QHash< QNetworkRequest::Attribute, QVariantAttributesMap
 
typedef QHash< QNetworkRequest::KnownHeaders, QVariantCookedHeadersMap
 
typedef QPair< QByteArray, QByteArrayRawHeaderPair
 
typedef QList< RawHeaderPairRawHeadersList
 
- Static Public Functions inherited from QNetworkHeadersPrivate
static QDateTime fromHttpDate (const QByteArray &value)
 
static QByteArray toHttpDate (const QDateTime &dt)
 

Detailed Description

Definition at line 290 of file qnetworkrequest.cpp.

Constructors and Destructors

◆ QNetworkRequestPrivate() [1/2]

QNetworkRequestPrivate::QNetworkRequestPrivate ( )
inline

Definition at line 293 of file qnetworkrequest.cpp.

295 #ifndef QT_NO_OPENSSL
296  , sslConfiguration(0)
297 #endif
298  { qRegisterMetaType<QNetworkRequest>(); }
QNetworkRequest::Priority priority
QSslConfiguration * sslConfiguration

◆ ~QNetworkRequestPrivate()

QNetworkRequestPrivate::~QNetworkRequestPrivate ( )
inline

Definition at line 299 of file qnetworkrequest.cpp.

300  {
301 #ifndef QT_NO_OPENSSL
302  delete sslConfiguration;
303 #endif
304  }
QSslConfiguration * sslConfiguration

◆ QNetworkRequestPrivate() [2/2]

QNetworkRequestPrivate::QNetworkRequestPrivate ( const QNetworkRequestPrivate other)
inline

Definition at line 307 of file qnetworkrequest.cpp.

308  : QSharedData(other), QNetworkHeadersPrivate(other)
309  {
310  url = other.url;
311  priority = other.priority;
312 
313 #ifndef QT_NO_OPENSSL
314  sslConfiguration = 0;
315  if (other.sslConfiguration)
317 #endif
318  }
QSharedData()
Constructs a QSharedData object with a reference count of 0.
Definition: qshareddata.h:61
QNetworkRequest::Priority priority
QSslConfiguration * sslConfiguration
The QSslConfiguration class holds the configuration and state of an SSL connection.

Functions

◆ operator==()

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

Definition at line 320 of file qnetworkrequest.cpp.

321  {
322  return url == other.url &&
323  priority == other.priority &&
324  rawHeaders == other.rawHeaders &&
325  attributes == other.attributes;
326  // don't compare cookedHeaders
327  }
QNetworkRequest::Priority priority

Properties

◆ priority

QNetworkRequest::Priority QNetworkRequestPrivate::priority

◆ sslConfiguration

QSslConfiguration* QNetworkRequestPrivate::sslConfiguration
mutable

◆ url

QUrl QNetworkRequestPrivate::url

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