Qt 4.8
Public Functions | Properties | List of all members
QHttpSetSocketRequest Class Reference
Inheritance diagram for QHttpSetSocketRequest:
QHttpRequest

Public Functions

QIODevicedestinationDevice ()
 
 QHttpSetSocketRequest (QTcpSocket *s)
 
QIODevicesourceDevice ()
 
void start (QHttp *)
 
- Public Functions inherited from QHttpRequest
virtual bool hasRequestHeader ()
 
 QHttpRequest ()
 
virtual QHttpRequestHeader requestHeader ()
 
virtual ~QHttpRequest ()
 

Properties

QTcpSocketsocket
 

Additional Inherited Members

- Public Variables inherited from QHttpRequest
bool finished
 
int id
 

Detailed Description

Definition at line 455 of file qhttp.cpp.

Constructors and Destructors

◆ QHttpSetSocketRequest()

QHttpSetSocketRequest::QHttpSetSocketRequest ( QTcpSocket s)
inline

Definition at line 458 of file qhttp.cpp.

458  : socket(s)
459  { }
QTcpSocket * socket
Definition: qhttp.cpp:469

Functions

◆ destinationDevice()

QIODevice* QHttpSetSocketRequest::destinationDevice ( )
inlinevirtual

Implements QHttpRequest.

Definition at line 465 of file qhttp.cpp.

466  { return 0; }

◆ sourceDevice()

QIODevice* QHttpSetSocketRequest::sourceDevice ( )
inlinevirtual

Implements QHttpRequest.

Definition at line 463 of file qhttp.cpp.

464  { return 0; }

◆ start()

void QHttpSetSocketRequest::start ( QHttp http)
virtual

Implements QHttpRequest.

Definition at line 472 of file qhttp.cpp.

473 {
474  http->d_func()->setSock(socket);
475  http->d_func()->finishedWithSuccess();
476 }
QTcpSocket * socket
Definition: qhttp.cpp:469

Properties

◆ socket

QTcpSocket* QHttpSetSocketRequest::socket
private

Definition at line 469 of file qhttp.cpp.


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