diff options
author | Sergio Ahumada <sahumada@blackberry.com> | 2014-03-04 20:25:54 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-05 11:03:10 +0100 |
commit | 9aac83d22ddbebc22fb1360d710263d349c2fdda (patch) | |
tree | 7aa83487218bffaafa014063d98c778fc3019aa0 | |
parent | 57b34cf8dbad22a1c37bf44753d314dc22c3fc70 (diff) | |
download | qtquick1-9aac83d22ddbebc22fb1360d710263d349c2fdda.tar.gz |
Fix typos in comments and documentation
Change-Id: Ie7c4d63d632bf32ee583ddcd807252225ddde3fd
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
20 files changed, 20 insertions, 20 deletions
diff --git a/examples/declarative/modelviews/listview/dynamiclist/qml/dynamic/highlight.qml b/examples/declarative/modelviews/listview/dynamiclist/qml/dynamic/highlight.qml index b86e156c..c2f35613 100644 --- a/examples/declarative/modelviews/listview/dynamiclist/qml/dynamic/highlight.qml +++ b/examples/declarative/modelviews/listview/dynamiclist/qml/dynamic/highlight.qml @@ -72,7 +72,7 @@ Rectangle { } } - // Define a highlight with customised movement between items. + // Define a highlight with customized movement between items. Component { id: highlightBar Rectangle { diff --git a/examples/declarative/modelviews/listview/dynamiclist/qml/dynamic/highlightranges.qml b/examples/declarative/modelviews/listview/dynamiclist/qml/dynamic/highlightranges.qml index f2f767f4..9d05b60b 100644 --- a/examples/declarative/modelviews/listview/dynamiclist/qml/dynamic/highlightranges.qml +++ b/examples/declarative/modelviews/listview/dynamiclist/qml/dynamic/highlightranges.qml @@ -56,7 +56,7 @@ Rectangle { // item visible. // // The second ListView sets a highlight range which attempts to keep the - // current item within the the bounds of the range. However, + // current item within the bounds of the range. However, // items will not scroll beyond the beginning or end of the view, // forcing the highlight to move outside the range at the ends. // diff --git a/examples/declarative/modelviews/listview/expandingdelegates/qml/expandingdelegates/highlight.qml b/examples/declarative/modelviews/listview/expandingdelegates/qml/expandingdelegates/highlight.qml index b86e156c..c2f35613 100644 --- a/examples/declarative/modelviews/listview/expandingdelegates/qml/expandingdelegates/highlight.qml +++ b/examples/declarative/modelviews/listview/expandingdelegates/qml/expandingdelegates/highlight.qml @@ -72,7 +72,7 @@ Rectangle { } } - // Define a highlight with customised movement between items. + // Define a highlight with customized movement between items. Component { id: highlightBar Rectangle { diff --git a/examples/declarative/modelviews/listview/expandingdelegates/qml/expandingdelegates/highlightranges.qml b/examples/declarative/modelviews/listview/expandingdelegates/qml/expandingdelegates/highlightranges.qml index f2f767f4..9d05b60b 100644 --- a/examples/declarative/modelviews/listview/expandingdelegates/qml/expandingdelegates/highlightranges.qml +++ b/examples/declarative/modelviews/listview/expandingdelegates/qml/expandingdelegates/highlightranges.qml @@ -56,7 +56,7 @@ Rectangle { // item visible. // // The second ListView sets a highlight range which attempts to keep the - // current item within the the bounds of the range. However, + // current item within the bounds of the range. However, // items will not scroll beyond the beginning or end of the view, // forcing the highlight to move outside the range at the ends. // diff --git a/examples/declarative/modelviews/listview/highlight/qml/highlight/highlight.qml b/examples/declarative/modelviews/listview/highlight/qml/highlight/highlight.qml index df693613..c6f8da66 100644 --- a/examples/declarative/modelviews/listview/highlight/qml/highlight/highlight.qml +++ b/examples/declarative/modelviews/listview/highlight/qml/highlight/highlight.qml @@ -73,7 +73,7 @@ Rectangle { } } - // Define a highlight with customised movement between items. + // Define a highlight with customized movement between items. Component { id: highlightBar Rectangle { diff --git a/examples/declarative/modelviews/listview/highlight/qml/highlight/highlightranges.qml b/examples/declarative/modelviews/listview/highlight/qml/highlight/highlightranges.qml index f2f767f4..9d05b60b 100644 --- a/examples/declarative/modelviews/listview/highlight/qml/highlight/highlightranges.qml +++ b/examples/declarative/modelviews/listview/highlight/qml/highlight/highlightranges.qml @@ -56,7 +56,7 @@ Rectangle { // item visible. // // The second ListView sets a highlight range which attempts to keep the - // current item within the the bounds of the range. However, + // current item within the bounds of the range. However, // items will not scroll beyond the beginning or end of the view, // forcing the highlight to move outside the range at the ends. // diff --git a/examples/declarative/modelviews/listview/highlightranges/qml/highlightranges/highlight.qml b/examples/declarative/modelviews/listview/highlightranges/qml/highlightranges/highlight.qml index b86e156c..c2f35613 100644 --- a/examples/declarative/modelviews/listview/highlightranges/qml/highlightranges/highlight.qml +++ b/examples/declarative/modelviews/listview/highlightranges/qml/highlightranges/highlight.qml @@ -72,7 +72,7 @@ Rectangle { } } - // Define a highlight with customised movement between items. + // Define a highlight with customized movement between items. Component { id: highlightBar Rectangle { diff --git a/examples/declarative/modelviews/listview/highlightranges/qml/highlightranges/highlightranges.qml b/examples/declarative/modelviews/listview/highlightranges/qml/highlightranges/highlightranges.qml index f2f767f4..9d05b60b 100644 --- a/examples/declarative/modelviews/listview/highlightranges/qml/highlightranges/highlightranges.qml +++ b/examples/declarative/modelviews/listview/highlightranges/qml/highlightranges/highlightranges.qml @@ -56,7 +56,7 @@ Rectangle { // item visible. // // The second ListView sets a highlight range which attempts to keep the - // current item within the the bounds of the range. However, + // current item within the bounds of the range. However, // items will not scroll beyond the beginning or end of the view, // forcing the highlight to move outside the range at the ends. // diff --git a/examples/declarative/modelviews/listview/sections/qml/sections/highlight.qml b/examples/declarative/modelviews/listview/sections/qml/sections/highlight.qml index b86e156c..c2f35613 100644 --- a/examples/declarative/modelviews/listview/sections/qml/sections/highlight.qml +++ b/examples/declarative/modelviews/listview/sections/qml/sections/highlight.qml @@ -72,7 +72,7 @@ Rectangle { } } - // Define a highlight with customised movement between items. + // Define a highlight with customized movement between items. Component { id: highlightBar Rectangle { diff --git a/examples/declarative/modelviews/listview/sections/qml/sections/highlightranges.qml b/examples/declarative/modelviews/listview/sections/qml/sections/highlightranges.qml index f2f767f4..9d05b60b 100644 --- a/examples/declarative/modelviews/listview/sections/qml/sections/highlightranges.qml +++ b/examples/declarative/modelviews/listview/sections/qml/sections/highlightranges.qml @@ -56,7 +56,7 @@ Rectangle { // item visible. // // The second ListView sets a highlight range which attempts to keep the - // current item within the the bounds of the range. However, + // current item within the bounds of the range. However, // items will not scroll beyond the beginning or end of the view, // forcing the highlight to move outside the range at the ends. // diff --git a/src/declarative/graphicsitems/qdeclarativeflickable.cpp b/src/declarative/graphicsitems/qdeclarativeflickable.cpp index 64ae2094..3042dc14 100644 --- a/src/declarative/graphicsitems/qdeclarativeflickable.cpp +++ b/src/declarative/graphicsitems/qdeclarativeflickable.cpp @@ -1331,7 +1331,7 @@ void QDeclarativeFlickable::setBoundsBehavior(BoundsBehavior b) \snippet doc/src/snippets/declarative/flickable.qml document - In some cases, the the content dimensions can be automatically set + In some cases, the content dimensions can be automatically set using the \l {Item::childrenRect.width}{childrenRect.width} and \l {Item::childrenRect.height}{childrenRect.height} properties. */ diff --git a/src/declarative/qml/qdeclarativecomponent.cpp b/src/declarative/qml/qdeclarativecomponent.cpp index f2596cc1..cbf23fa6 100644 --- a/src/declarative/qml/qdeclarativecomponent.cpp +++ b/src/declarative/qml/qdeclarativecomponent.cpp @@ -782,7 +782,7 @@ QObject *QDeclarativeComponent::create(QDeclarativeContext *context) When QDeclarativeComponent constructs an instance, it occurs in three steps: \list 1 \li The object hierarchy is created, and constant values are assigned. - \li Property bindings are evaluated for the the first time. + \li Property bindings are evaluated for the first time. \li If applicable, QDeclarativeParserStatus::componentComplete() is called on objects. \endlist QDeclarativeComponent::beginCreate() differs from QDeclarativeComponent::create() in that it diff --git a/src/declarative/util/qdeclarativeanimation.cpp b/src/declarative/util/qdeclarativeanimation.cpp index a72df77a..9f0c73ac 100644 --- a/src/declarative/util/qdeclarativeanimation.cpp +++ b/src/declarative/util/qdeclarativeanimation.cpp @@ -791,7 +791,7 @@ void QDeclarativeScriptAction::setScript(const QDeclarativeScriptString &script) /*! \qmlproperty string ScriptAction::scriptName - This property holds the the name of the StateChangeScript to run. + This property holds the name of the StateChangeScript to run. This property is only valid when ScriptAction is used as part of a transition. If both script and scriptName are set, scriptName will be used. diff --git a/src/doc/src/declarative/example-slideswitch.qdoc b/src/doc/src/declarative/example-slideswitch.qdoc index b294a83a..9d115e1f 100644 --- a/src/doc/src/declarative/example-slideswitch.qdoc +++ b/src/doc/src/declarative/example-slideswitch.qdoc @@ -53,7 +53,7 @@ The elements that compose the switch are: \snippet examples/declarative/ui-components/slideswitch/content/Switch.qml 1 This property is the interface of the switch. By default, the switch is off and this property is \c false. -It can be used to activate/disactivate the switch or to query its current state. +It can be used to activate/deactivate the switch or to query its current state. In this example: diff --git a/src/doc/src/declarative/qdeclarativemodels.qdoc b/src/doc/src/declarative/qdeclarativemodels.qdoc index 138aa3aa..a566ca88 100644 --- a/src/doc/src/declarative/qdeclarativemodels.qdoc +++ b/src/doc/src/declarative/qdeclarativemodels.qdoc @@ -269,7 +269,7 @@ with models of type QAbstractItemModel: \list \li \e hasModelChildren role property to determine whether a node has child nodes. -\li \l VisualDataModel::rootIndex allows the root node to be specifed +\li \l VisualDataModel::rootIndex allows the root node to be specified \li \l VisualDataModel::modelIndex() returns a QModelIndex which can be assigned to VisualDataModel::rootIndex \li \l VisualDataModel::parentModelIndex() returns a QModelIndex which can be assigned to VisualDataModel::rootIndex \endlist diff --git a/src/doc/src/declarative/righttoleft.qdoc b/src/doc/src/declarative/righttoleft.qdoc index 9374fa6c..604cae8d 100644 --- a/src/doc/src/declarative/righttoleft.qdoc +++ b/src/doc/src/declarative/righttoleft.qdoc @@ -60,7 +60,7 @@ aligned to the right side of the text area. The alignment of a text element with its alignment cue from \l QApplication::keyboardInputDirection(), which is based on the active system locale. -This default locale-based alignment can be overriden by setting the \c horizontalAlignment +This default locale-based alignment can be overridden by setting the \c horizontalAlignment property for the text element, or by enabling layout mirroring using the \l LayoutMirroring attached property, which causes any explicit left and right horizontal alignments to be mirrored. Note that when \l LayoutMirroring is set, the \c horizontalAlignment property value remains unchanged; diff --git a/src/plugins/platforms/uikit/examples/share/qmlapplicationviewer/qmlapplicationviewer.cpp b/src/plugins/platforms/uikit/examples/share/qmlapplicationviewer/qmlapplicationviewer.cpp index 28674873..865d74b6 100644 --- a/src/plugins/platforms/uikit/examples/share/qmlapplicationviewer/qmlapplicationviewer.cpp +++ b/src/plugins/platforms/uikit/examples/share/qmlapplicationviewer/qmlapplicationviewer.cpp @@ -145,7 +145,7 @@ void QmlApplicationViewer::addImportPath(const QString &path) void QmlApplicationViewer::setOrientation(ScreenOrientation orientation) { - // TODO: Needs a Qt5 implmentation + // TODO: Needs a Qt5 implementation Q_UNUSED(orientation) } diff --git a/tests/auto/declarative/qdeclarativeqt/data/darker.qml b/tests/auto/declarative/qdeclarativeqt/data/darker.qml index d2ef866d..cbd129dd 100644 --- a/tests/auto/declarative/qdeclarativeqt/data/darker.qml +++ b/tests/auto/declarative/qdeclarativeqt/data/darker.qml @@ -5,7 +5,7 @@ QtObject { property variant test2: Qt.darker() property variant test3: Qt.darker(Qt.rgba(1, 0.8, 0.3), 2.8) property variant test4: Qt.darker("red"); - property variant test5: Qt.darker("perfectred"); // Non-existant color + property variant test5: Qt.darker("perfectred"); // Non-existent color property variant test6: Qt.darker(10); property variant test7: Qt.darker(Qt.rgba(1, 0.8, 0.3), 2.8, 10) } diff --git a/tests/auto/declarative/qdeclarativeqt/data/lighter.qml b/tests/auto/declarative/qdeclarativeqt/data/lighter.qml index 67f0d0f3..34f6b273 100644 --- a/tests/auto/declarative/qdeclarativeqt/data/lighter.qml +++ b/tests/auto/declarative/qdeclarativeqt/data/lighter.qml @@ -5,7 +5,7 @@ QtObject { property variant test2: Qt.lighter() property variant test3: Qt.lighter(Qt.rgba(1, 0.8, 0.3), 1.8) property variant test4: Qt.lighter("red"); - property variant test5: Qt.lighter("perfectred"); // Non-existant color + property variant test5: Qt.lighter("perfectred"); // Non-existent color property variant test6: Qt.lighter(10); property variant test7: Qt.lighter(Qt.rgba(1, 0.8, 0.3), 1.8, 5) } diff --git a/tests/manual/declarative/qmlshadersplugin/qml/qmlshadersplugintest/TestVertexShader.qml b/tests/manual/declarative/qmlshadersplugin/qml/qmlshadersplugintest/TestVertexShader.qml index 3641ca50..bcb1979e 100644 --- a/tests/manual/declarative/qmlshadersplugin/qml/qmlshadersplugintest/TestVertexShader.qml +++ b/tests/manual/declarative/qmlshadersplugin/qml/qmlshadersplugintest/TestVertexShader.qml @@ -101,7 +101,7 @@ Rectangle { Text { id: label anchors.centerIn: parent - text: effect.vertexShader == effect.defaultVertexShader ? "Effect (display shoud be green)" : "Effect (display shoud be red)" + text: effect.vertexShader == effect.defaultVertexShader ? "Effect (display should be green)" : "Effect (display should be red)" color: "white" font.bold: true } |