Qt 4.8
Public Functions | List of all members
QNetworkAccessBackendFactory Class Referenceabstract

#include <qnetworkaccessbackend_p.h>

Inheritance diagram for QNetworkAccessBackendFactory:
QNetworkAccessFileBackendFactory QNetworkAccessFtpBackendFactory QNetworkAccessHttpBackendFactory

Public Functions

virtual QNetworkAccessBackendcreate (QNetworkAccessManager::Operation op, const QNetworkRequest &request) const =0
 
 QNetworkAccessBackendFactory ()
 
virtual ~QNetworkAccessBackendFactory ()
 

Detailed Description

Definition at line 218 of file qnetworkaccessbackend_p.h.

Constructors and Destructors

◆ QNetworkAccessBackendFactory()

QNetworkAccessBackendFactory::QNetworkAccessBackendFactory ( )

Definition at line 80 of file qnetworkaccessbackend.cpp.

81 {
82  QMutexLocker locker(&factoryData()->mutex);
83  factoryData()->append(this);
84 }
The QMutexLocker class is a convenience class that simplifies locking and unlocking mutexes...
Definition: qmutex.h:101

◆ ~QNetworkAccessBackendFactory()

QNetworkAccessBackendFactory::~QNetworkAccessBackendFactory ( )
virtual

Definition at line 86 of file qnetworkaccessbackend.cpp.

87 {
89  QMutexLocker locker(&factoryData()->mutex);
90  factoryData()->removeAll(this);
91  }
92 }
The QMutexLocker class is a convenience class that simplifies locking and unlocking mutexes...
Definition: qmutex.h:101

Functions

◆ create()

virtual QNetworkAccessBackend* QNetworkAccessBackendFactory::create ( QNetworkAccessManager::Operation  op,
const QNetworkRequest request 
) const
pure virtual

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