summaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-07-21 01:36:03 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2010-07-21 01:37:01 (GMT)
commit4f6e480acce94d8ae920c3eda4879fc4f9cb2598 (patch)
tree89ef1bf6796cb158c67d0088af2b04c89e205baf /doc/src
parent4e193343630db3c3efaa67670e73e2b5a89cf69a (diff)
downloadQt-4f6e480acce94d8ae920c3eda4879fc4f9cb2598.zip
Qt-4f6e480acce94d8ae920c3eda4879fc4f9cb2598.tar.gz
Qt-4f6e480acce94d8ae920c3eda4879fc4f9cb2598.tar.bz2
Do not show copyright header in documentation.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/declarative/qdeclarativeintro.qdoc2
-rw-r--r--doc/src/snippets/declarative/comments.qml2
2 files changed, 3 insertions, 1 deletions
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]