aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2015-04-27 13:23:05 +0200
committerTopi Reiniƶ <topi.reinio@digia.com>2015-04-29 07:33:56 +0000
commite38f5e9cb1430c2bd1095f566ed752d36eed0029 (patch)
tree8c4726a7568d51086eb3955f1c1107d63b13d93b /src/quick
parente3f56a8b8d749f9eb4816ee7f6355f59dac173e6 (diff)
Doc: Fix linking issues in Item QML type documentation
Use explicit link commands as QDoc cannot create links to single-word QML type names automatically. Task-number: QTBUG-45827 Change-Id: I048300728356d3ae9901c5c57febc683137ce090 Reviewed-by: Martin Smith <martin.smith@digia.com>
Diffstat (limited to 'src/quick')
-rw-r--r--src/quick/items/qquickitem.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/quick/items/qquickitem.cpp b/src/quick/items/qquickitem.cpp
index 4d1bb696fa..07d7636abf 100644
--- a/src/quick/items/qquickitem.cpp
+++ b/src/quick/items/qquickitem.cpp
@@ -4244,7 +4244,7 @@ void QQuickItem::mapToItem(QQmlV4Function *args) const
This method sets focus on the item and ensures that all ancestor
FocusScope objects in the object hierarchy are also given \l focus.
- The reason for the focus change will be \a Qt::OtherFocusReason. Use
+ The reason for the focus change will be \l [CPP] Qt::OtherFocusReason. Use
the overloaded method to specify the focus reason to enable better
handling of the focus change.
@@ -6105,7 +6105,7 @@ qreal QQuickItem::implicitWidth() const
Defines the natural width or height of the Item if no \l width or \l height is specified.
The default implicit size for most items is 0x0, however some items have an inherent
- implicit size which cannot be overridden, e.g. Image, Text.
+ implicit size which cannot be overridden, for example, \l [QML] Image and \l [QML] Text.
Setting the implicit size is useful for defining components that have a preferred size
based on their content, for example:
@@ -6129,7 +6129,7 @@ qreal QQuickItem::implicitWidth() const
}
\endqml
- \b Note: using implicitWidth of Text or TextEdit and setting the width explicitly
+ \note Using implicitWidth of \l [QML] Text or \l [QML] TextEdit and setting the width explicitly
incurs a performance penalty as the text must be laid out twice.
*/
/*!
@@ -6139,7 +6139,7 @@ qreal QQuickItem::implicitWidth() const
Defines the natural width or height of the Item if no \l width or \l height is specified.
The default implicit size for most items is 0x0, however some items have an inherent
- implicit size which cannot be overridden, e.g. Image, Text.
+ implicit size which cannot be overridden, for example, \l [QML] Image and \l [QML] Text.
Setting the implicit size is useful for defining components that have a preferred size
based on their content, for example:
@@ -6163,7 +6163,7 @@ qreal QQuickItem::implicitWidth() const
}
\endqml
- \b Note: using implicitWidth of Text or TextEdit and setting the width explicitly
+ \note Using implicitWidth of \l [QML] Text or \l [QML] TextEdit and setting the width explicitly
incurs a performance penalty as the text must be laid out twice.
*/
void QQuickItem::setImplicitWidth(qreal w)