From e38f5e9cb1430c2bd1095f566ed752d36eed0029 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Mon, 27 Apr 2015 13:23:05 +0200 Subject: 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 --- src/quick/items/qquickitem.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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) -- cgit v1.2.3