summaryrefslogtreecommitdiffstats
path: root/doc/src/examples
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-11-04 18:35:37 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-11-04 18:36:10 (GMT)
commitc1eae9d5842c73719d7719cccc4beca55711714d (patch)
treee0c154e2d9dd3a55d58e4b0d4f9c887f64d03a82 /doc/src/examples
parent77e5de0865f4a3810edc57ef5c8558200215b31c (diff)
downloadQt-c1eae9d5842c73719d7719cccc4beca55711714d.zip
Qt-c1eae9d5842c73719d7719cccc4beca55711714d.tar.gz
Qt-c1eae9d5842c73719d7719cccc4beca55711714d.tar.bz2
Doc: Fixed qdoc warnings.
Reviewed-by: Trust Me
Diffstat (limited to 'doc/src/examples')
-rw-r--r--doc/src/examples/ftp.qdoc12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/examples/ftp.qdoc b/doc/src/examples/ftp.qdoc
index 8fded88..68fb0d7 100644
--- a/doc/src/examples/ftp.qdoc
+++ b/doc/src/examples/ftp.qdoc
@@ -40,7 +40,7 @@
****************************************************************************/
/*!
- \example network/ftp
+ \example network/qftp
\title FTP Example
The FTP example demonstrates a simple FTP client that can be used
@@ -90,12 +90,12 @@
the FTP server, and registers whether an entry represents a
directory or a file. We use the QFile object to download files
from the FTP server.
-
+
\section1 FtpWindow Class Implementation
We skip the \c FtpWindow constructor as it only contains code for
setting up the GUI, which is explained in other examples.
-
+
We move on to the slots, starting with \c connectOrDisconnect().
\snippet examples/network/qftp/ftpwindow.cpp 0
@@ -137,7 +137,7 @@
\snippet examples/network/qftp/ftpwindow.cpp 3
\dots
\snippet examples/network/qftp/ftpwindow.cpp 4
-
+
We first fetch the name of the file, which we find in the selected
item of \c fileList. We then start the download by using
QFtp::get(). QFtp will send progress signals during the download
@@ -153,7 +153,7 @@
finished a QFtp::Command. If an error occurred during the
command, QFtp will set \c error to one of the values in
the QFtp::Error enum; otherwise, \c error is zero.
-
+
\snippet examples/network/qftp/ftpwindow.cpp 7
After login, the QFtp::list() function will list the top-level
@@ -165,7 +165,7 @@
When a \l{QFtp::}{Get} command is finished, a file has finished
downloading (or an error occurred during the download).
-
+
\snippet examples/network/qftp/ftpwindow.cpp 9
After a \l{QFtp::}{List} command is performed, we have to check if