diff options
Diffstat (limited to 'doc/man/man3/qhttp.3qt')
-rw-r--r-- | doc/man/man3/qhttp.3qt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/man/man3/qhttp.3qt b/doc/man/man3/qhttp.3qt index 0710e05e2..39573eb70 100644 --- a/doc/man/man3/qhttp.3qt +++ b/doc/man/man3/qhttp.3qt @@ -22,7 +22,7 @@ Inherits QNetworkProtocol. .BI "\fBQHttp\fR ( QObject * parent, const char * name = 0 )" .br .ti -1c -.BI "\fBQHttp\fR ( const QString & hostname, Q_UINT16 port = 80, QObject * parent = 0, const char * name = 0 )" +.BI "\fBQHttp\fR ( const QString & hostname, TQ_UINT16 port = 80, QObject * parent = 0, const char * name = 0 )" .br .ti -1c .BI "virtual \fB~QHttp\fR ()" @@ -34,7 +34,7 @@ Inherits QNetworkProtocol. .BI "enum \fBError\fR { NoError, UnknownError, HostNotFound, ConnectionRefused, UnexpectedClose, InvalidResponseHeader, WrongContentLength, Aborted }" .br .ti -1c -.BI "int \fBsetHost\fR ( const QString & hostname, Q_UINT16 port = 80 )" +.BI "int \fBsetHost\fR ( const QString & hostname, TQ_UINT16 port = 80 )" .br .ti -1c .BI "int \fBget\fR ( const QString & path, QIODevice * to = 0 )" @@ -58,10 +58,10 @@ Inherits QNetworkProtocol. .BI "int \fBcloseConnection\fR ()" .br .ti -1c -.BI "Q_ULONG \fBbytesAvailable\fR () const" +.BI "TQ_ULONG \fBbytesAvailable\fR () const" .br .ti -1c -.BI "Q_LONG \fBreadBlock\fR ( char * data, Q_ULONG maxlen )" +.BI "TQ_LONG \fBreadBlock\fR ( char * data, TQ_ULONG maxlen )" .br .ti -1c .BI "QByteArray \fBreadAll\fR ()" @@ -317,7 +317,7 @@ See also stateChanged() and state(). Constructs a QHttp object. .SH "QHttp::QHttp ( QObject * parent, const char * name = 0 )" Constructs a QHttp object. The parameters \fIparent\fR and \fIname\fR are passed on to the QObject constructor. -.SH "QHttp::QHttp ( const QString & hostname, Q_UINT16 port = 80, QObject * parent = 0, const char * name = 0 )" +.SH "QHttp::QHttp ( const QString & hostname, TQ_UINT16 port = 80, QObject * parent = 0, const char * name = 0 )" Constructs a QHttp object. Subsequent requests are done by connecting to the server \fIhostname\fR on port \fIport\fR. The parameters \fIparent\fR and \fIname\fR are passed on to the QObject constructor. .PP See also setHost(). @@ -331,7 +331,7 @@ For the current request, the requestFinished() signal with the \fCerror\fR argum Since this slot also deletes the scheduled requests, there are no requests left and the done() signal is emitted (with the \fCerror\fR argument \fCTRUE\fR). .PP See also clearPendingRequests(). -.SH "Q_ULONG QHttp::bytesAvailable () const" +.SH "TQ_ULONG QHttp::bytesAvailable () const" Returns the number of bytes that can be read from the response content at the moment. .PP See also get(), post(), request(), readyRead(), readBlock(), and readAll(). @@ -451,7 +451,7 @@ This is an overloaded member function, provided for convenience. It behaves esse Reads all the bytes from the response content and returns them. .PP See also get(), post(), request(), readyRead(), bytesAvailable(), and readBlock(). -.SH "Q_LONG QHttp::readBlock ( char * data, Q_ULONG maxlen )" +.SH "TQ_LONG QHttp::readBlock ( char * data, TQ_ULONG maxlen )" Reads \fImaxlen\fR bytes from the response content into \fIdata\fR and returns the number of bytes read. Returns -1 if an error occurred. .PP See also get(), post(), request(), readyRead(), bytesAvailable(), and readAll(). @@ -497,7 +497,7 @@ See also requestFinished() and done(). This signal is emitted when the HTTP header of a server response is available. The header is passed in \fIresp\fR. .PP See also get(), post(), head(), request(), and readyRead(). -.SH "int QHttp::setHost ( const QString & hostname, Q_UINT16 port = 80 )" +.SH "int QHttp::setHost ( const QString & hostname, TQ_UINT16 port = 80 )" Sets the HTTP server that is used for requests to \fIhostname\fR on port \fIport\fR. .PP The function does not block and returns immediately. The request is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by requestStarted() and requestFinished(). |