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 6e2f17b8a..23d5e38c3 100644 --- a/doc/man/man3/tqurloperator.3qt +++ b/doc/man/man3/tqurloperator.3qt @@ -49,7 +49,7 @@ Inherits TQObject and QUrl. .BI "virtual const QNetworkOperation * \fBput\fR ( const QByteArray & data, const TQString & location = TQString::null )" .br .ti -1c -.BI "virtual QPtrList<QNetworkOperation> \fBcopy\fR ( const TQString & from, const TQString & to, bool move = FALSE, bool toPath = TRUE )" +.BI "virtual TQPtrList<QNetworkOperation> \fBcopy\fR ( const TQString & from, const TQString & to, bool move = FALSE, bool toPath = TRUE )" .br .ti -1c .BI "virtual void \fBcopy\fR ( const QStringList & files, const TQString & dest, bool move = FALSE )" @@ -97,7 +97,7 @@ Inherits TQObject and QUrl. .BI "void \fBdataTransferProgress\fR ( int bytesDone, int bytesTotal, QNetworkOperation * op )" .br .ti -1c -.BI "void \fBstartedNextCopy\fR ( const QPtrList<QNetworkOperation> & lst )" +.BI "void \fBstartedNextCopy\fR ( const TQPtrList<QNetworkOperation> & lst )" .br .ti -1c .BI "void \fBconnectionStateChanged\fR ( int state, const TQString & data )" @@ -179,7 +179,7 @@ Clears the cache of children. This signal is emitted whenever the URL operator's connection state changes. \fIstate\fR describes the new state, which is a QNetworkProtocol::ConnectionState value. .PP \fIdata\fR is a string that describes the change of the connection. This can be used to display a message to the user. -.SH "QPtrList<QNetworkOperation> QUrlOperator::copy ( const TQString & from, const TQString & to, bool move = FALSE, bool toPath = TRUE )\fC [virtual]\fR" +.SH "TQPtrList<QNetworkOperation> QUrlOperator::copy ( const TQString & from, const TQString & to, bool move = FALSE, bool toPath = TRUE )\fC [virtual]\fR" Copies the file \fIfrom\fR to \fIto\fR. If \fImove\fR is TRUE, the file is moved (copied and removed). \fIfrom\fR must point to a file and \fIto\fR must point to a directory (into which \fIfrom\fR is copied) unless \fItoPath\fR is set to FALSE. If \fItoPath\fR is set to FALSE then the \fIto\fR variable is assumed to be the absolute file path (destination file path + file name). The copying is done using the get() and put() operations. If you want to be notified about the progress of the operation, connect to the dataTransferProgress() signal. Bear in mind that the get() and put() operations emit this signal through the QUrlOperator. The number of transferred bytes and the total bytes that you receive as arguments in this signal do not relate to the the whole copy operation; they relate first to the get() and then to the put() operation. Always check what type of operation the signal comes from; this is given in the signal's last argument. .PP 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. @@ -341,7 +341,7 @@ See also QDir::setNameFilter(). Some operations (such as listChildren()) emit this signal when they start processing the operation. \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 "void QUrlOperator::startedNextCopy ( const QPtrList<QNetworkOperation> & lst )\fC [signal]\fR" +.SH "void QUrlOperator::startedNextCopy ( const TQPtrList<QNetworkOperation> & lst )\fC [signal]\fR" This signal is emitted if copy() starts a new copy operation. \fIlst\fR contains all QNetworkOperations related to this copy operation. .PP See also copy(). |