aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@theqtcompany.com>2015-10-13 09:58:33 +0200
committerMitch Curtis <mitch.curtis@theqtcompany.com>2015-10-13 08:10:40 +0000
commit1551187f9c17bfa15686626d896ccbdd04d1f37a (patch)
tree839fcab7eaa43a316e867468c32f44aba4274712
parent90a67f40dc866889fc4b77184006036b290aaa26 (diff)
Correct some areas of QQuickItem's documentation
Change-Id: I2a2c684cd3f55a5a4311fd28b893e6a93c022ace Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
-rw-r--r--src/quick/items/qquickitem.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/quick/items/qquickitem.cpp b/src/quick/items/qquickitem.cpp
index 1b728584b4..ab93974f60 100644
--- a/src/quick/items/qquickitem.cpp
+++ b/src/quick/items/qquickitem.cpp
@@ -5766,7 +5766,7 @@ void QQuickItemPrivate::itemChange(QQuickItem::ItemChange change, const QQuickIt
In Qt Quick 2.0, this property has minimal impact on performance.
- By default is true.
+ By default, this property is set to \c true.
*/
/*!
\property QQuickItem::smooth
@@ -5778,7 +5778,7 @@ void QQuickItemPrivate::itemChange(QQuickItem::ItemChange change, const QQuickIt
In Qt Quick 2.0, this property has minimal impact on performance.
- By default is true.
+ By default, this property is set to \c true.
*/
bool QQuickItem::smooth() const
{
@@ -5800,10 +5800,10 @@ void QQuickItem::setSmooth(bool smooth)
/*!
\qmlproperty bool QtQuick::Item::activeFocusOnTab
- This property holds whether the item wants to be in tab focus
- chain. By default this is set to false.
+ This property holds whether the item wants to be in the tab focus
+ chain. By default, this is set to \c false.
- The tab focus chain traverses elements by visiting first the
+ The tab focus chain traverses elements by first visiting the
parent, and then its children in the order they occur in the
children property. Pressing the tab key on an item in the tab
focus chain will move keyboard focus to the next item in the
@@ -5812,14 +5812,14 @@ void QQuickItem::setSmooth(bool smooth)
To set up a manual tab focus chain, see \l KeyNavigation. Tab
key events used by Keys or KeyNavigation have precedence over
- focus chain behavior, ignore the events in other key handlers
+ focus chain behavior; ignore the events in other key handlers
to allow it to propagate.
*/
/*!
\property QQuickItem::activeFocusOnTab
- This property holds whether the item wants to be in tab focus
- chain. By default this is set to false.
+ This property holds whether the item wants to be in the tab focus
+ chain. By default, this is set to \c false.
*/
bool QQuickItem::activeFocusOnTab() const
{