summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-05-04 11:31:33 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-05-04 11:31:33 (GMT)
commit6f7b9cfd130135dd398cd7f2e1ac30fd08971aae (patch)
tree1002e5a229058d3a4ec2e2ba66d0c32b0bb532f5
parent1fbb8472ccb3fe7c1c92e960e37f31b7077f999f (diff)
downloadQt-6f7b9cfd130135dd398cd7f2e1ac30fd08971aae.zip
Qt-6f7b9cfd130135dd398cd7f2e1ac30fd08971aae.tar.gz
Qt-6f7b9cfd130135dd398cd7f2e1ac30fd08971aae.tar.bz2
qdoc: Corrected some qdoc warnings.
-rw-r--r--doc/src/tutorials/declarative.qdoc8
-rw-r--r--examples/declarative/tutorials/contacts/2_Reuse/3/RemoveButton.qml2
2 files changed, 6 insertions, 4 deletions
diff --git a/doc/src/tutorials/declarative.qdoc b/doc/src/tutorials/declarative.qdoc
index 16dad6e..bde71da 100644
--- a/doc/src/tutorials/declarative.qdoc
+++ b/doc/src/tutorials/declarative.qdoc
@@ -404,7 +404,7 @@
These properties and signals are accessed from the contact field the same
way standard system components are accessed.
- \snippet declarative/tutorials/contacts/2_Reuse/2/RemoveButton.qml use properties and signals
+ \snippet declarative/tutorials/contacts/2_Reuse/2/ContactField.qml use properties and signals
Now when the remove button is expanded, it will expand to the width of the
contact field. Also when the user confirms the remove action, the
@@ -438,7 +438,7 @@
that state. In the FieldText element a similar approach is used to fade
out the label of the FieldText when the user enters some text of their own.
- \snippet declarative/tutorials/contacts/3_Reuse/2/FieldText.qml behavior
+ \snippet declarative/tutorials/contacts/2_Reuse/3/FieldText.qml behavior
fieldText is the enclosing component and textEdit is a TextEdit element
provided by Qt. In the QML code above, the opacity of the textLabel is
@@ -587,7 +587,7 @@
We then add a transition so that this becomes animated:
- \snippet declarative/tutorials/contacts/3_Collections/2/ContactView.qml transition
+ \snippet declarative/tutorials/contacts/3_Collections/2/ContactView.qml transitions
This allows the user to click on an item to enter the open state.
@@ -600,7 +600,7 @@
And connect it's clicked value to some script to set the state of the delegate
back to its default state.
- \snippet declarative/tutorials/contacts/3_Collections/2/ContactView.qml connection
+ \snippet declarative/tutorials/contacts/3_Collections/2/ContactView.qml connections
Something worth noting at this point is that every delegate created has this connection.
It is important to check whether the delegate is the one in the open state, and
diff --git a/examples/declarative/tutorials/contacts/2_Reuse/3/RemoveButton.qml b/examples/declarative/tutorials/contacts/2_Reuse/3/RemoveButton.qml
index 309ee5a..8d82e89 100644
--- a/examples/declarative/tutorials/contacts/2_Reuse/3/RemoveButton.qml
+++ b/examples/declarative/tutorials/contacts/2_Reuse/3/RemoveButton.qml
@@ -1,3 +1,4 @@
+//! [all]
Rect {
id: removeButton
width: 30
@@ -120,3 +121,4 @@ Rect {
}
]
}
+//! [all]