summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-09-18 14:37:14 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-09-18 14:49:41 (GMT)
commitd5a7729a12223512e2d66b3fe4f82234ea9c6d97 (patch)
tree3e9e81a835e4af89581bdd575cef45a66bbb01f9 /doc
parent470d214a5e363fc7035932fe46a5711b2b20c354 (diff)
downloadQt-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.cpp2
-rw-r--r--doc/src/tutorials/widgets-tutorial.qdoc2
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