diff options
author | Martin Smith <martin.smith@nokia.com> | 2011-02-22 11:12:57 (GMT) |
---|---|---|
committer | Martin Smith <martin.smith@nokia.com> | 2011-02-22 11:12:57 (GMT) |
commit | f0eadbc92d06706fee765796408a9bfca077e0d2 (patch) | |
tree | 424b522b5d0f2719fdaed0029b18b890faa24c7a /tools/qdoc3/doc/qdoc-manual.qdoc | |
parent | d89d932c08b2841253b66e2c140807de824185eb (diff) | |
download | Qt-f0eadbc92d06706fee765796408a9bfca077e0d2.zip Qt-f0eadbc92d06706fee765796408a9bfca077e0d2.tar.gz Qt-f0eadbc92d06706fee765796408a9bfca077e0d2.tar.bz2 |
qdoc: More updating command descriptions.
Diffstat (limited to 'tools/qdoc3/doc/qdoc-manual.qdoc')
-rw-r--r-- | tools/qdoc3/doc/qdoc-manual.qdoc | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/tools/qdoc3/doc/qdoc-manual.qdoc b/tools/qdoc3/doc/qdoc-manual.qdoc index f1aa8c4..d6acc29 100644 --- a/tools/qdoc3/doc/qdoc-manual.qdoc +++ b/tools/qdoc3/doc/qdoc-manual.qdoc @@ -4633,22 +4633,19 @@ \target headerfile-command \section1 \\headerfile - The \\headerfile command allows you to document - global functions, types and macros declared in a header file. - - The command follows \l {topic argument} {the general - topic command convention} for the argument, and the - generated HTML documentation for the specified header file - is put in <lower-case>\e{headerfilename}.html. - - A function, type or macro can be associated with a - headerfile using the \l {relates-command} {\\relates} command. - - If the referenced header file doesn't exist, the - \\headerfile command will still create a documentation page - for a header file with the referenced file's name. - - For example: + The \\headerfile command is for documenting the global functions, + types and macros that are declared in a header file but not in a + namespace. The argument is the name of the header file. The HTML + page is written to a \c {.html} file constructed from the header + file aregument. + + The documentation for a function, type, or macro that is declared + in the header file being documented is included in the header file + page using the \l {relates-command} {\\relates} command. + + If the argument doesn't exist as a header file, the \\headerfile + command creates a documentation page for the header file anyway. + For example: \code / *! @@ -4665,7 +4662,8 @@ * / \endcode - QDoc renders this as: + QDoc generates a header file page \c{qtalgorithms.html} that looks + something like this: \quotation \raw HTML @@ -4701,9 +4699,6 @@ ... \endquotation - in qtalgorithms.html. - - \target macro-command \section1 \\macro |