diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 15:41:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 15:41:12 +0900 |
commit | 894037c3e68e1573a34183d936171f8cda5085f3 (patch) | |
tree | a7d9ebc1991af73bbcc927673b107c08da973541 /doc/man/man3/tqftp.3qt | |
parent | 6e4a70d41a2636ce99a1da7b6827ac5685ed3186 (diff) | |
download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip |
Amend to previous 'replace TRUE/FALSE' commitr14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(manually cherry-picked from commit 649c4c61a1f1f479f4532b196f68df476cef2680)
Diffstat (limited to 'doc/man/man3/tqftp.3qt')
-rw-r--r-- | doc/man/man3/tqftp.3qt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqftp.3qt b/doc/man/man3/tqftp.3qt index b8e9f9d0f..cdbeb8689 100644 --- a/doc/man/man3/tqftp.3qt +++ b/doc/man/man3/tqftp.3qt @@ -361,13 +361,13 @@ Destructor. .SH "void QFtp::abort ()\fC [slot]\fR" Aborts the current command and deletes all scheduled commands. .PP -If there is an unfinished command (i.e. a command for which the commandStarted() signal has been emitted, but for which the commandFinished() signal has not been emitted), this function sends an \fCABORT\fR command to the server. When the server replies that the command is aborted, the commandFinished() signal with the \fCerror\fR argument set to \fCTRUE\fR is emitted for the command. Due to timing issues, it is possible that the command had already finished before the abort request reached the server, in which case, the commandFinished() signal is emitted with the \fCerror\fR argument set to \fCFALSE\fR. +If there is an unfinished command (i.e. a command for which the commandStarted() signal has been emitted, but for which the commandFinished() signal has not been emitted), this function sends an \fCABORT\fR command to the server. When the server replies that the command is aborted, the commandFinished() signal with the \fCerror\fR argument set to \fCtrue\fR is emitted for the command. Due to timing issues, it is possible that the command had already finished before the abort request reached the server, in which case, the commandFinished() signal is emitted with the \fCerror\fR argument set to \fCfalse\fR. .PP For all other commands that are affected by the abort(), no signals are emitted. .PP If you don't start further FTP commands directly after the abort(), there won't be any scheduled commands and the done() signal is emitted. .PP -\fBWarning:\fR Some FTP servers, for example the BSD FTP daemon (version 0.3), wrongly return a positive reply even when an abort has occurred. For these servers the commandFinished() signal has its error flag set to \fCFALSE\fR, even though the command did not complete successfully. +\fBWarning:\fR Some FTP servers, for example the BSD FTP daemon (version 0.3), wrongly return a positive reply even when an abort has occurred. For these servers the commandFinished() signal has its error flag set to \fCfalse\fR, even though the command did not complete successfully. .PP See also clearPendingCommands(). .PP @@ -461,11 +461,11 @@ See also commandFinished(), error(), and errorString(). .PP Example: network/ftpclient/ftpmainwindow.ui.h. .SH "Error QFtp::error () const" -Returns the last error that occurred. This is useful to find out what when wrong when receiving a commandFinished() or a done() signal with the \fCerror\fR argument set to \fCTRUE\fR. +Returns the last error that occurred. This is useful to find out what when wrong when receiving a commandFinished() or a done() signal with the \fCerror\fR argument set to \fCtrue\fR. .PP If you start a new command, the error status is reset to NoError. .SH "TQString QFtp::errorString () const" -Returns a human-readable description of the last error that occurred. This is useful for presenting a error message to the user when receiving a commandFinished() or a done() signal with the \fCerror\fR argument set to \fCTRUE\fR. +Returns a human-readable description of the last error that occurred. This is useful for presenting a error message to the user when receiving a commandFinished() or a done() signal with the \fCerror\fR argument set to \fCtrue\fR. .PP The error string is often (but not always) the reply from the server, so it is not always possible to translate the string. If the message comes from Qt, the string has already passed through tr(). .PP |