diff options
author | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2012-05-10 09:11:17 +0200 |
---|---|---|
committer | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2012-05-10 09:11:23 +0200 |
commit | 9456528aac80c6d4c41fa96d88696dc55414b710 (patch) | |
tree | f9fdcc9cd3c7468503590bec7ed082294a0cffde /src/network/access/qftp.cpp | |
parent | 75552c8f62dcfb8012c306b37c79ec629448d780 (diff) | |
parent | ee38dec6f3aff6f7f277323c5c8488d4cd385693 (diff) |
Merge branch 'docs-refactoring' into master
Change-Id: Iebd1966abace3cdf7f9428dcfc1ded5b124ab113
Diffstat (limited to 'src/network/access/qftp.cpp')
-rw-r--r-- | src/network/access/qftp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/network/access/qftp.cpp b/src/network/access/qftp.cpp index ba30ad08ba..324126baae 100644 --- a/src/network/access/qftp.cpp +++ b/src/network/access/qftp.cpp @@ -1361,7 +1361,7 @@ int QFtpPrivate::addCommand(QFtpCommand *cmd) e.g. if you want to connect and login to a FTP server. This is simply achieved: - \snippet doc/src/snippets/code/src_network_access_qftp.cpp 0 + \snippet code/src_network_access_qftp.cpp 0 In this case two FTP commands have been scheduled. When the last scheduled command has finished, a done() signal is emitted with @@ -1379,12 +1379,12 @@ int QFtpPrivate::addCommand(QFtpCommand *cmd) Example: If you want to download the INSTALL file from the Qt FTP server, you would write this: - \snippet doc/src/snippets/code/src_network_access_qftp.cpp 1 + \snippet code/src_network_access_qftp.cpp 1 For this example the following sequence of signals is emitted (with small variations, depending on network traffic, etc.): - \snippet doc/src/snippets/code/src_network_access_qftp.cpp 2 + \snippet code/src_network_access_qftp.cpp 2 The dataTransferProgress() signal in the above example is useful if you want to show a \link QProgressBar progress bar \endlink to @@ -1397,7 +1397,7 @@ int QFtpPrivate::addCommand(QFtpCommand *cmd) If the login fails for the above example, the signals would look like this: - \snippet doc/src/snippets/code/src_network_access_qftp.cpp 3 + \snippet code/src_network_access_qftp.cpp 3 You can then get details about the error with the error() and errorString() functions. |