From 9aac83d22ddbebc22fb1360d710263d349c2fdda Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Tue, 4 Mar 2014 20:25:54 +0100 Subject: Fix typos in comments and documentation Change-Id: Ie7c4d63d632bf32ee583ddcd807252225ddde3fd Reviewed-by: Mitch Curtis --- src/doc/src/declarative/example-slideswitch.qdoc | 2 +- src/doc/src/declarative/qdeclarativemodels.qdoc | 2 +- src/doc/src/declarative/righttoleft.qdoc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/doc/src') 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; -- cgit v1.2.3