From d5a7729a12223512e2d66b3fe4f82234ea9c6d97 Mon Sep 17 00:00:00 2001 From: David Boddie Date: Fri, 18 Sep 2009 16:37:14 +0200 Subject: Doc: Prevented the inclusion of a license header in the documentation. Reviewed-by: Trust Me --- doc/src/snippets/widgets-tutorial/template.cpp | 2 ++ doc/src/tutorials/widgets-tutorial.qdoc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 // 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 -- cgit v0.12