From 4f6e480acce94d8ae920c3eda4879fc4f9cb2598 Mon Sep 17 00:00:00 2001 From: Yann Bodson Date: Wed, 21 Jul 2010 11:36:03 +1000 Subject: Do not show copyright header in documentation. --- doc/src/declarative/qdeclarativeintro.qdoc | 2 +- doc/src/snippets/declarative/comments.qml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/src/declarative/qdeclarativeintro.qdoc b/doc/src/declarative/qdeclarativeintro.qdoc index 3f1b184..75055d8 100644 --- a/doc/src/declarative/qdeclarativeintro.qdoc +++ b/doc/src/declarative/qdeclarativeintro.qdoc @@ -129,7 +129,7 @@ Commenting in QML is similar to JavaScript. \o Multiline comments start with /* and finish with *\/ \endlist -\quotefile doc/src/snippets/declarative/comments.qml +\snippet doc/src/snippets/declarative/comments.qml 0 Comments are ignored by the engine. They are useful for explaining what you are doing; for referring back to at a later date, or for others reading diff --git a/doc/src/snippets/declarative/comments.qml b/doc/src/snippets/declarative/comments.qml index f4bedb8..bafa26d 100644 --- a/doc/src/snippets/declarative/comments.qml +++ b/doc/src/snippets/declarative/comments.qml @@ -40,6 +40,7 @@ import Qt 4.7 +//![0] Text { text: "Hello world!" //a basic greeting /* @@ -49,3 +50,4 @@ Text { font.family: "Helvetica" font.pointSize: 24 } +//![0] -- cgit v0.12