summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqftp.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqftp.3qt')
-rw-r--r--doc/man/man3/tqftp.3qt168
1 files changed, 84 insertions, 84 deletions
diff --git a/doc/man/man3/tqftp.3qt b/doc/man/man3/tqftp.3qt
index 778cf38a3..60fe27c40 100644
--- a/doc/man/man3/tqftp.3qt
+++ b/doc/man/man3/tqftp.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QFtp 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQFtp 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,22 +7,22 @@
.ad l
.nh
.SH NAME
-QFtp \- Implementation of the FTP protocol
+TQFtp \- Implementation of the FTP protocol
.SH SYNOPSIS
-\fC#include <ntqftp.h>\fR
+\fC#include <tqftp.h>\fR
.PP
-Inherits QNetworkProtocol.
+Inherits TQNetworkProtocol.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQFtp\fR ()"
+.BI "\fBTQFtp\fR ()"
.br
.ti -1c
-.BI "\fBQFtp\fR ( TQObject * parent, const char * name = 0 )"
+.BI "\fBTQFtp\fR ( TQObject * parent, const char * name = 0 )"
.br
.ti -1c
-.BI "virtual \fB~QFtp\fR ()"
+.BI "virtual \fB~TQFtp\fR ()"
.br
.ti -1c
.BI "enum \fBState\fR { Unconnected, HostLookup, Connecting, Connected, LoggedIn, Closing }"
@@ -118,7 +118,7 @@ Inherits QNetworkProtocol.
.BI "void \fBstateChanged\fR ( int state )"
.br
.ti -1c
-.BI "void \fBlistInfo\fR ( const QUrlInfo & i )"
+.BI "void \fBlistInfo\fR ( const TQUrlInfo & i )"
.br
.ti -1c
.BI "void \fBreadyRead\fR ()"
@@ -140,23 +140,23 @@ Inherits QNetworkProtocol.
.br
.in -1c
.SH DESCRIPTION
-The QFtp class provides an implementation of the FTP protocol.
+The TQFtp class provides an implementation of the FTP protocol.
.PP
-This class provides two different interfaces: one is the QNetworkProtocol interface that allows you to use FTP through the QUrlOperator abstraction. The other is a direct interface to FTP that gives you lower-level access to the FTP protocol for finer control. Using the direct interface you can also execute arbitrary FTP commands.
+This class provides two different interfaces: one is the TQNetworkProtocol interface that allows you to use FTP through the TQUrlOperator abstraction. The other is a direct interface to FTP that gives you lower-level access to the FTP protocol for finer control. Using the direct interface you can also execute arbitrary FTP commands.
.PP
Don't mix the two interfaces, since the behavior is not well-defined.
.PP
-If you want to use QFtp with the QNetworkProtocol interface, you do not use it directly, but rather through a QUrlOperator, for example:
+If you want to use TQFtp with the TQNetworkProtocol interface, you do not use it directly, but rather through a TQUrlOperator, for example:
.PP
.nf
.br
- QUrlOperator op( "ftp://ftp.trolltech.com" );
+ TQUrlOperator op( "ftp://ftp.trolltech.com" );
.br
op.listChildren(); // Asks the server to provide a directory listing
.br
.fi
.PP
-This code will only work if the QFtp class is registered; to register the class, you must call tqInitNetworkProtocols() before using a QUrlOperator with QFtp.
+This code will only work if the TQFtp class is registered; to register the class, you must call tqInitNetworkProtocols() before using a TQUrlOperator with TQFtp.
.PP
The rest of this descrption describes the direct interface to FTP.
.PP
@@ -170,7 +170,7 @@ In some cases, you might want to execute a sequence of commands, e.g. if you wan
.PP
.nf
.br
- QFtp *ftp = new QFtp( this ); // this is an optional TQObject parent
+ TQFtp *ftp = new TQFtp( this ); // this is an optional TQObject parent
.br
ftp->connectToHost( "ftp.trolltech.com" );
.br
@@ -287,78 +287,78 @@ The functions currentId() and currentCommand() provide more information about th
.PP
The functions hasPendingCommands() and clearPendingCommands() allow you to query and clear the list of pending commands.
.PP
-The safest and easiest way to use the FTP protocol is to use QUrlOperator() or the FTP commands described above. If you are an experienced network programmer and want to have complete control you can use rawCommand() to execute arbitrary FTP commands.
+The safest and easiest way to use the FTP protocol is to use TQUrlOperator() or the FTP commands described above. If you are an experienced network programmer and want to have complete control you can use rawCommand() to execute arbitrary FTP commands.
.PP
-See also TQt Network Documentation, QNetworkProtocol, QUrlOperator, QHttp, and Input/Output and Networking.
+See also TQt Network Documentation, TQNetworkProtocol, TQUrlOperator, TQHttp, and Input/Output and Networking.
.SS "Member Type Documentation"
-.SH "QFtp::Command"
+.SH "TQFtp::Command"
This enum is used as the return value for the currentCommand() function. This allows you to perform specific actions for particular commands, e.g. in a FTP client, you might want to clear the directory view when a list() command is started; in this case you can simply check in the slot connected to the start() signal if the currentCommand() is List.
.TP
-\fCQFtp::None\fR - No command is being executed.
+\fCTQFtp::None\fR - No command is being executed.
.TP
-\fCQFtp::ConnectToHost\fR - connectToHost() is being executed.
+\fCTQFtp::ConnectToHost\fR - connectToHost() is being executed.
.TP
-\fCQFtp::Login\fR - login() is being executed.
+\fCTQFtp::Login\fR - login() is being executed.
.TP
-\fCQFtp::Close\fR - close() is being executed.
+\fCTQFtp::Close\fR - close() is being executed.
.TP
-\fCQFtp::List\fR - list() is being executed.
+\fCTQFtp::List\fR - list() is being executed.
.TP
-\fCQFtp::Cd\fR - cd() is being executed.
+\fCTQFtp::Cd\fR - cd() is being executed.
.TP
-\fCQFtp::Get\fR - get() is being executed.
+\fCTQFtp::Get\fR - get() is being executed.
.TP
-\fCQFtp::Put\fR - put() is being executed.
+\fCTQFtp::Put\fR - put() is being executed.
.TP
-\fCQFtp::Remove\fR - remove() is being executed.
+\fCTQFtp::Remove\fR - remove() is being executed.
.TP
-\fCQFtp::Mkdir\fR - mkdir() is being executed.
+\fCTQFtp::Mkdir\fR - mkdir() is being executed.
.TP
-\fCQFtp::Rmdir\fR - rmdir() is being executed.
+\fCTQFtp::Rmdir\fR - rmdir() is being executed.
.TP
-\fCQFtp::Rename\fR - rename() is being executed.
+\fCTQFtp::Rename\fR - rename() is being executed.
.TP
-\fCQFtp::RawCommand\fR - rawCommand() is being executed.
+\fCTQFtp::RawCommand\fR - rawCommand() is being executed.
.PP
See also currentCommand().
-.SH "QFtp::Error"
+.SH "TQFtp::Error"
This enum identifies the error that occurred.
.TP
-\fCQFtp::NoError\fR - No error occurred.
+\fCTQFtp::NoError\fR - No error occurred.
.TP
-\fCQFtp::HostNotFound\fR - The host name lookup failed.
+\fCTQFtp::HostNotFound\fR - The host name lookup failed.
.TP
-\fCQFtp::ConnectionRefused\fR - The server refused the connection.
+\fCTQFtp::ConnectionRefused\fR - The server refused the connection.
.TP
-\fCQFtp::NotConnected\fR - Tried to send a command, but there is no connection to a server.
+\fCTQFtp::NotConnected\fR - Tried to send a command, but there is no connection to a server.
.TP
-\fCQFtp::UnknownError\fR - An error other than those specified above occurred.
+\fCTQFtp::UnknownError\fR - An error other than those specified above occurred.
.PP
See also error().
-.SH "QFtp::State"
+.SH "TQFtp::State"
This enum defines the connection state:
.TP
-\fCQFtp::Unconnected\fR - There is no connection to the host.
+\fCTQFtp::Unconnected\fR - There is no connection to the host.
.TP
-\fCQFtp::HostLookup\fR - A host name lookup is in progress.
+\fCTQFtp::HostLookup\fR - A host name lookup is in progress.
.TP
-\fCQFtp::Connecting\fR - An attempt to connect to the host is in progress.
+\fCTQFtp::Connecting\fR - An attempt to connect to the host is in progress.
.TP
-\fCQFtp::Connected\fR - Connection to the host has been achieved.
+\fCTQFtp::Connected\fR - Connection to the host has been achieved.
.TP
-\fCQFtp::LoggedIn\fR - Connection and user login have been achieved.
+\fCTQFtp::LoggedIn\fR - Connection and user login have been achieved.
.TP
-\fCQFtp::Closing\fR - The connection is closing down, but it is not yet closed. (The state will be Unconnected when the connection is closed.)
+\fCTQFtp::Closing\fR - The connection is closing down, but it is not yet closed. (The state will be Unconnected when the connection is closed.)
.PP
See also stateChanged() and state().
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QFtp::QFtp ()"
-Constructs a QFtp object.
-.SH "QFtp::QFtp ( TQObject * parent, const char * name = 0 )"
-Constructs a QFtp object. The \fIparent\fR and \fIname\fR parameters are passed to the TQObject constructor.
-.SH "QFtp::~QFtp ()\fC [virtual]\fR"
+.SH "TQFtp::TQFtp ()"
+Constructs a TQFtp object.
+.SH "TQFtp::TQFtp ( TQObject * parent, const char * name = 0 )"
+Constructs a TQFtp object. The \fIparent\fR and \fIname\fR parameters are passed to the TQObject constructor.
+.SH "TQFtp::~TQFtp ()\fC [virtual]\fR"
Destructor.
-.SH "void QFtp::abort ()\fC [slot]\fR"
+.SH "void TQFtp::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.
@@ -372,11 +372,11 @@ If you don't start further FTP commands directly after the abort(), there won't
See also clearPendingCommands().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "TQ_ULONG QFtp::bytesAvailable () const"
+.SH "TQ_ULONG TQFtp::bytesAvailable () const"
Returns the number of bytes that can be read from the data socket at the moment.
.PP
See also get(), readyRead(), readBlock(), and readAll().
-.SH "int QFtp::cd ( const TQString & dir )"
+.SH "int TQFtp::cd ( const TQString & dir )"
Changes the working directory of the server to \fIdir\fR.
.PP
The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by commandStarted() and commandFinished().
@@ -386,11 +386,11 @@ When the command is started the commandStarted() signal is emitted. When it is f
See also commandStarted() and commandFinished().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "void QFtp::clearPendingCommands ()"
+.SH "void TQFtp::clearPendingCommands ()"
Deletes all pending commands from the list of scheduled commands. This does not affect the command that is being executed. If you want to stop this this as well, use abort().
.PP
See also hasPendingCommands() and abort().
-.SH "int QFtp::close ()"
+.SH "int TQFtp::close ()"
Closes the connection to the FTP server.
.PP
The stateChanged() signal is emitted when the state of the connecting process changes, e.g. to Closing, then Unconnected.
@@ -402,19 +402,19 @@ When the command is started the commandStarted() signal is emitted. When it is f
See also stateChanged(), commandStarted(), and commandFinished().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "void QFtp::commandFinished ( int id, bool error )\fC [signal]\fR"
+.SH "void TQFtp::commandFinished ( int id, bool error )\fC [signal]\fR"
This signal is emitted when processing the command identified by \fIid\fR has finished. \fIerror\fR is TRUE if an error occurred during the processing; otherwise \fIerror\fR is FALSE.
.PP
See also commandStarted(), done(), error(), and errorString().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "void QFtp::commandStarted ( int id )\fC [signal]\fR"
+.SH "void TQFtp::commandStarted ( int id )\fC [signal]\fR"
This signal is emitted when processing the command identified by \fIid\fR starts.
.PP
See also commandFinished() and done().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "int QFtp::connectToHost ( const TQString & host, TQ_UINT16 port = 21 )"
+.SH "int TQFtp::connectToHost ( const TQString & host, TQ_UINT16 port = 21 )"
Connects to the FTP server \fIhost\fR using port \fIport\fR.
.PP
The stateChanged() signal is emitted when the state of the connecting process changes, e.g. to HostLookup, then Connecting, then Connected.
@@ -426,13 +426,13 @@ When the command is started the commandStarted() signal is emitted. When it is f
See also stateChanged(), commandStarted(), and commandFinished().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "Command QFtp::currentCommand () const"
+.SH "Command TQFtp::currentCommand () const"
Returns the command type of the FTP command being executed or None if there is no command being executed.
.PP
See also currentId().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "TQIODevice * QFtp::currentDevice () const"
+.SH "TQIODevice * TQFtp::currentDevice () const"
Returns the TQIODevice pointer that is used by the FTP command to read data from or store data to. If there is no current FTP command being executed or if the command does not use an IO device, this function returns 0.
.PP
This function can be used to delete the TQIODevice in the slot connected to the commandFinished() signal.
@@ -440,37 +440,37 @@ This function can be used to delete the TQIODevice in the slot connected to the
See also get() and put().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "int QFtp::currentId () const"
+.SH "int TQFtp::currentId () const"
Returns the identifier of the FTP command that is being executed or 0 if there is no command being executed.
.PP
See also currentCommand().
-.SH "void QFtp::dataTransferProgress ( int done, int total )\fC [signal]\fR"
+.SH "void TQFtp::dataTransferProgress ( int done, int total )\fC [signal]\fR"
This signal is emitted in response to a get() or put() request to indicate the current progress of the download or upload.
.PP
-\fIdone\fR is the amount of data that has already been transferred and \fItotal\fR is the total amount of data to be read or written. It is possible that the QFtp class is not able to determine the total amount of data that should be transferred, in which case \fItotal\fR is 0. (If you connect this signal to a QProgressBar, the progress bar shows a busy indicator if the total is 0).
+\fIdone\fR is the amount of data that has already been transferred and \fItotal\fR is the total amount of data to be read or written. It is possible that the TQFtp class is not able to determine the total amount of data that should be transferred, in which case \fItotal\fR is 0. (If you connect this signal to a QProgressBar, the progress bar shows a busy indicator if the total is 0).
.PP
\fBWarning:\fR \fIdone\fR and \fItotal\fR are not necessarily the size in bytes, since for large files these values might need to be" scaled" to avoid overflow.
.PP
See also get(), put(), and QProgressBar::progress.
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "void QFtp::done ( bool error )\fC [signal]\fR"
+.SH "void TQFtp::done ( bool error )\fC [signal]\fR"
This signal is emitted when the last pending command has finished; (it is emitted after the last command's commandFinished() signal). \fIerror\fR is TRUE if an error occurred during the processing; otherwise \fIerror\fR is FALSE.
.PP
See also commandFinished(), error(), and errorString().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "Error QFtp::error () const"
+.SH "Error TQFtp::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.
.PP
If you start a new command, the error status is reset to NoError.
-.SH "TQString QFtp::errorString () const"
+.SH "TQString TQFtp::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.
.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
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "int QFtp::get ( const TQString & file, TQIODevice * dev = 0 )"
+.SH "int TQFtp::get ( const TQString & file, TQIODevice * dev = 0 )"
Downloads the file \fIfile\fR from the server.
.PP
If \fIdev\fR is 0, then the readyRead() signal is emitted when there is data available to read. You can then read the data with the readBlock() or readAll() functions.
@@ -488,13 +488,13 @@ When the command is started the commandStarted() signal is emitted. When it is f
See also readyRead(), dataTransferProgress(), commandStarted(), and commandFinished().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "bool QFtp::hasPendingCommands () const"
+.SH "bool TQFtp::hasPendingCommands () const"
Returns TRUE if there are any commands scheduled that have not yet been executed; otherwise returns FALSE.
.PP
The command that is being executed is \fInot\fR considered as a scheduled command.
.PP
See also clearPendingCommands(), currentId(), and currentCommand().
-.SH "int QFtp::list ( const TQString & dir = TQString::null )"
+.SH "int TQFtp::list ( const TQString & dir = TQString::null )"
Lists the contents of directory \fIdir\fR on the FTP server. If \fIdir\fR is empty, it lists the contents of the current directory.
.PP
The listInfo() signal is emitted for each directory entry found.
@@ -506,13 +506,13 @@ When the command is started the commandStarted() signal is emitted. When it is f
See also listInfo(), commandStarted(), and commandFinished().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "void QFtp::listInfo ( const QUrlInfo & i )\fC [signal]\fR"
+.SH "void TQFtp::listInfo ( const TQUrlInfo & i )\fC [signal]\fR"
This signal is emitted for each directory entry the list() command finds. The details of the entry are stored in \fIi\fR.
.PP
See also list().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "int QFtp::login ( const TQString & user = TQString::null, const TQString & password = TQString::null )"
+.SH "int TQFtp::login ( const TQString & user = TQString::null, const TQString & password = TQString::null )"
Logs in to the FTP server with the username \fIuser\fR and the password \fIpassword\fR.
.PP
The stateChanged() signal is emitted when the state of the connecting process changes, e.g. to LoggedIn.
@@ -524,7 +524,7 @@ When the command is started the commandStarted() signal is emitted. When it is f
See also commandStarted() and commandFinished().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "int QFtp::mkdir ( const TQString & dir )"
+.SH "int TQFtp::mkdir ( const TQString & dir )"
Creates a directory called \fIdir\fR on the server.
.PP
The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by commandStarted() and commandFinished().
@@ -532,13 +532,13 @@ The function does not block and returns immediately. The command is scheduled, a
When the command is started the commandStarted() signal is emitted. When it is finished the commandFinished() signal is emitted.
.PP
See also commandStarted() and commandFinished().
-.SH "int QFtp::put ( TQIODevice * dev, const TQString & file )"
+.SH "int TQFtp::put ( TQIODevice * dev, const TQString & file )"
Reads the data from the IO device \fIdev\fR, and writes it to the file called \fIfile\fR on the server. The data is read in chunks from the IO device, so this overload allows you to transmit large amounts of data without the need to read all the data into memory at once.
.PP
Make sure that the \fIdev\fR pointer is valid for the duration of the operation (it is safe to delete it when the commandFinished() is emitted).
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "int QFtp::put ( const TQByteArray & data, const TQString & file )"
+.SH "int TQFtp::put ( const TQByteArray & data, const TQString & file )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Writes the data \fIdata\fR to the file called \fIfile\fR on the server. The progress of the upload is reported by the dataTransferProgress() signal.
@@ -548,8 +548,8 @@ The function does not block and returns immediately. The command is scheduled, a
When the command is started the commandStarted() signal is emitted. When it is finished the commandFinished() signal is emitted.
.PP
See also dataTransferProgress(), commandStarted(), and commandFinished().
-.SH "int QFtp::rawCommand ( const TQString & command )"
-Sends the raw FTP command \fIcommand\fR to the FTP server. This is useful for low-level FTP access. If the operation you wish to perform has an equivalent QFtp function, we recommend using the function instead of raw FTP commands since the functions are easier and safer.
+.SH "int TQFtp::rawCommand ( const TQString & command )"
+Sends the raw FTP command \fIcommand\fR to the FTP server. This is useful for low-level FTP access. If the operation you wish to perform has an equivalent TQFtp function, we recommend using the function instead of raw FTP commands since the functions are easier and safer.
.PP
The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by commandStarted() and commandFinished().
.PP
@@ -558,21 +558,21 @@ When the command is started the commandStarted() signal is emitted. When it is f
See also rawCommandReply(), commandStarted(), and commandFinished().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "void QFtp::rawCommandReply ( int replyCode, const TQString & detail )\fC [signal]\fR"
+.SH "void TQFtp::rawCommandReply ( int replyCode, const TQString & detail )\fC [signal]\fR"
This signal is emitted in response to the rawCommand() function. \fIreplyCode\fR is the 3 digit reply code and \fIdetail\fR is the text that follows the reply code.
.PP
See also rawCommand().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "TQByteArray QFtp::readAll ()"
+.SH "TQByteArray TQFtp::readAll ()"
Reads all the bytes available from the data socket and returns them.
.PP
See also get(), readyRead(), bytesAvailable(), and readBlock().
-.SH "TQ_LONG QFtp::readBlock ( char * data, TQ_ULONG maxlen )"
+.SH "TQ_LONG TQFtp::readBlock ( char * data, TQ_ULONG maxlen )"
Reads \fImaxlen\fR bytes from the data socket into \fIdata\fR and returns the number of bytes read. Returns -1 if an error occurred.
.PP
See also get(), readyRead(), bytesAvailable(), and readAll().
-.SH "void QFtp::readyRead ()\fC [signal]\fR"
+.SH "void TQFtp::readyRead ()\fC [signal]\fR"
This signal is emitted in response to a get() command when there is new data to read.
.PP
If you specify a device as the second argument in the get() command, this signal is \fInot\fR emitted; instead the data is written directly to the device.
@@ -582,7 +582,7 @@ You can read the data with the readAll() or readBlock() functions.
This signal is useful if you want to process the data in chunks as soon as it becomes available. If you are only interested in the complete data, just connect to the commandFinished() signal and read the data then instead.
.PP
See also get(), readBlock(), readAll(), and bytesAvailable().
-.SH "int QFtp::remove ( const TQString & file )"
+.SH "int TQFtp::remove ( const TQString & file )"
Deletes the file called \fIfile\fR from the server.
.PP
The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by commandStarted() and commandFinished().
@@ -592,7 +592,7 @@ When the command is started the commandStarted() signal is emitted. When it is f
See also commandStarted() and commandFinished().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "int QFtp::rename ( const TQString & oldname, const TQString & newname )"
+.SH "int TQFtp::rename ( const TQString & oldname, const TQString & newname )"
Renames the file called \fIoldname\fR to \fInewname\fR on the server.
.PP
The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by commandStarted() and commandFinished().
@@ -600,7 +600,7 @@ The function does not block and returns immediately. The command is scheduled, a
When the command is started the commandStarted() signal is emitted. When it is finished the commandFinished() signal is emitted.
.PP
See also commandStarted() and commandFinished().
-.SH "int QFtp::rmdir ( const TQString & dir )"
+.SH "int TQFtp::rmdir ( const TQString & dir )"
Removes the directory called \fIdir\fR from the server.
.PP
The function does not block and returns immediately. The command is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by commandStarted() and commandFinished().
@@ -608,13 +608,13 @@ The function does not block and returns immediately. The command is scheduled, a
When the command is started the commandStarted() signal is emitted. When it is finished the commandFinished() signal is emitted.
.PP
See also commandStarted() and commandFinished().
-.SH "State QFtp::state () const"
+.SH "State TQFtp::state () const"
Returns the current state of the object. When the state changes, the stateChanged() signal is emitted.
.PP
See also State and stateChanged().
.PP
Example: network/ftpclient/ftpmainwindow.ui.h.
-.SH "void QFtp::stateChanged ( int state )\fC [signal]\fR"
+.SH "void TQFtp::stateChanged ( int state )\fC [signal]\fR"
This signal is emitted when the state of the connection changes. The argument \fIstate\fR is the new state of the connection; it is one of the State values.
.PP
It is usually emitted in response to a connectToHost() or close() command, but it can also be emitted "spontaneously", e.g. when the server closes the connection unexpectedly.
@@ -624,7 +624,7 @@ See also connectToHost(), close(), state(), and State.
Example: network/ftpclient/ftpmainwindow.ui.h.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqftp.html
+.BR http://doc.trolltech.com/tqftp.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the