summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/qdeclarativeintro.qdoc
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-10-01 03:36:20 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2010-10-01 03:36:20 (GMT)
commit183243963d523beaf4fdff6b9a7dcb679ebbc71f (patch)
treea0c16b8937705411b261f54dddc9157c35474232 /doc/src/declarative/qdeclarativeintro.qdoc
parent2e078ddc87277e47f3e9b7a21d1197b0d7309d2d (diff)
downloadQt-183243963d523beaf4fdff6b9a7dcb679ebbc71f.zip
Qt-183243963d523beaf4fdff6b9a7dcb679ebbc71f.tar.gz
Qt-183243963d523beaf4fdff6b9a7dcb679ebbc71f.tar.bz2
Doc: typographical and spelling errors.
Diffstat (limited to 'doc/src/declarative/qdeclarativeintro.qdoc')
-rw-r--r--doc/src/declarative/qdeclarativeintro.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/declarative/qdeclarativeintro.qdoc b/doc/src/declarative/qdeclarativeintro.qdoc
index 9d89edf..c97240c 100644
--- a/doc/src/declarative/qdeclarativeintro.qdoc
+++ b/doc/src/declarative/qdeclarativeintro.qdoc
@@ -173,7 +173,7 @@ Item {
}
\endcode
-QML properties are what is known as \e typesafe. That is, they only allow you to assign a value that
+QML properties are what is known as \e type-safe. That is, they only allow you to assign a value that
matches the property type. For example, the \c x property of item is a real, and if you try to assign
a string to it you will get an error.
@@ -189,7 +189,7 @@ Each object can be given a special unique property called an \e id. No other obj
same \l{QML Documents}{QML document} can have the same \c id value. Assigning an id enables the object
to be referred to by other objects and scripts.
-The first Rectangle element below has an \e id, "myRect". The second Rectange element defines its
+The first Rectangle element below has an \e id, "myRect". The second Rectangle element defines its
own width by referring to \tt myRect.width, which means it will have the same \tt width
value as the first Rectangle element.