diff options
Diffstat (limited to 'doc/man/man3/tqurloperator.3qt')
-rw-r--r-- | doc/man/man3/tqurloperator.3qt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqurloperator.3qt b/doc/man/man3/tqurloperator.3qt index 93b86f22e..903496409 100644 --- a/doc/man/man3/tqurloperator.3qt +++ b/doc/man/man3/tqurloperator.3qt @@ -46,7 +46,7 @@ Inherits TQObject and QUrl. .BI "virtual const QNetworkOperation * \fBget\fR ( const TQString & location = TQString::null )" .br .ti -1c -.BI "virtual const QNetworkOperation * \fBput\fR ( const QByteArray & data, const TQString & location = TQString::null )" +.BI "virtual const QNetworkOperation * \fBput\fR ( const TQByteArray & data, const TQString & location = TQString::null )" .br .ti -1c .BI "virtual TQPtrList<QNetworkOperation> \fBcopy\fR ( const TQString & from, const TQString & to, bool move = FALSE, bool toPath = TRUE )" @@ -91,7 +91,7 @@ Inherits TQObject and QUrl. .BI "void \fBitemChanged\fR ( QNetworkOperation * op )" .br .ti -1c -.BI "void \fBdata\fR ( const QByteArray & data, QNetworkOperation * op )" +.BI "void \fBdata\fR ( const TQByteArray & data, QNetworkOperation * op )" .br .ti -1c .BI "void \fBdataTransferProgress\fR ( int bytesDone, int bytesTotal, QNetworkOperation * op )" @@ -199,7 +199,7 @@ This signal is emitted when mkdir() succeeds and the directory has been created. \fIop\fR is a pointer to the operation object, which contains all the information about the operation, including the state. \fCop->arg(0)\fR holds the new directory's name. .PP See also QNetworkOperation and QNetworkProtocol. -.SH "void QUrlOperator::data ( const QByteArray & data, QNetworkOperation * op )\fC [signal]\fR" +.SH "void QUrlOperator::data ( const TQByteArray & data, QNetworkOperation * op )\fC [signal]\fR" This signal is emitted when new \fIdata\fR has been received after calling get() or put(). \fIop\fR is a pointer to the operation object which contains all the information about the operation, including the state. \fCop->arg(0)\fR holds the name of the file whose data is retrieved and op->rawArg(1) holds the (raw) data. .PP See also QNetworkOperation and QNetworkProtocol. @@ -285,7 +285,7 @@ See also QUrlOperator::setNameFilter() and QDir::nameFilter(). This signal is emitted after listChildren() was called and new children (i.e. files) have been read from a list of files. \fIi\fR holds the information about the new files. \fIop\fR is a pointer to the operation object which contains all the information about the operation, including the state. .PP See also QNetworkOperation and QNetworkProtocol. -.SH "const QNetworkOperation * QUrlOperator::put ( const QByteArray & data, const TQString & location = TQString::null )\fC [virtual]\fR" +.SH "const QNetworkOperation * QUrlOperator::put ( const TQByteArray & data, const TQString & location = TQString::null )\fC [virtual]\fR" This function tells the network protocol to put \fIdata\fR in \fIlocation\fR. If \fIlocation\fR is empty (TQString::null), it puts the \fIdata\fR in the location to which the URL points. What happens depends on the network protocol. Depending on the network protocol, some data might come back after putting data, in which case the data() signal is emitted. The dataTransferProgress() signal is emitted during processing of the operation. At the end, finished() (with success or failure) is emitted, so check the state of the network operation object to see whether or not the operation was successful. .PP If \fIlocation\fR is TQString::null, the path of this QUrlOperator should point to a file when you use this operation. If \fIlocation\fR is not empty, it can be a relative (a child of the path to which the QUrlOperator points) or an absolute URL. |