diff options
author | David Boddie <dboddie@trolltech.com> | 2009-09-18 14:37:14 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2009-09-18 14:49:41 (GMT) |
commit | d5a7729a12223512e2d66b3fe4f82234ea9c6d97 (patch) | |
tree | 3e9e81a835e4af89581bdd575cef45a66bbb01f9 /doc | |
parent | 470d214a5e363fc7035932fe46a5711b2b20c354 (diff) | |
download | Qt-d5a7729a12223512e2d66b3fe4f82234ea9c6d97.zip Qt-d5a7729a12223512e2d66b3fe4f82234ea9c6d97.tar.gz Qt-d5a7729a12223512e2d66b3fe4f82234ea9c6d97.tar.bz2 |
Doc: Prevented the inclusion of a license header in the documentation.
Reviewed-by: Trust Me
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/snippets/widgets-tutorial/template.cpp | 2 | ||||
-rw-r--r-- | doc/src/tutorials/widgets-tutorial.qdoc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/src/snippets/widgets-tutorial/template.cpp b/doc/src/snippets/widgets-tutorial/template.cpp index 19902cc..2ced971 100644 --- a/doc/src/snippets/widgets-tutorial/template.cpp +++ b/doc/src/snippets/widgets-tutorial/template.cpp @@ -39,6 +39,7 @@ ** ****************************************************************************/ +//! [main.cpp body] #include <QtGui> // Include header files for application components. @@ -53,3 +54,4 @@ int main(int argc, char *argv[]) return app.exec(); } +//! [main.cpp body] diff --git a/doc/src/tutorials/widgets-tutorial.qdoc b/doc/src/tutorials/widgets-tutorial.qdoc index 31e2ba3..1d3ebfe 100644 --- a/doc/src/tutorials/widgets-tutorial.qdoc +++ b/doc/src/tutorials/widgets-tutorial.qdoc @@ -80,7 +80,7 @@ A typical \c main() function, written in \c{main.cpp}, looks like this: - \quotefile doc/src/snippets/widgets-tutorial/template.cpp + \snippet doc/src/snippets/widgets-tutorial/template.cpp main.cpp body We first construct a QApplication object which is configured using any arguments passed in from the command line. After any widgets have been |