From 21f6b4d381c31bb9cdca5c28c15add250abdd5ab Mon Sep 17 00:00:00 2001 From: Bea Lam Date: Thu, 2 Aug 2012 13:06:09 +1000 Subject: Fix various broken links in documentation Change-Id: I9e2dac37d18e3ca62e4a92be25e5c2e60ffeba00 Reviewed-by: Andrew den Exter --- src/quick/doc/src/appdevguide/deployment.qdoc | 2 +- src/quick/doc/src/appdevguide/glossary.qdoc | 2 +- src/quick/doc/src/appdevguide/porting.qdoc | 2 +- .../doc/src/appdevguide/quickstart/components.qdoc | 6 +-- .../doc/src/concepts/modelviewsdata/modelview.qdoc | 4 +- .../doc/src/concepts/positioning/righttoleft.qdoc | 2 +- .../src/concepts/statesanimations/animations.qdoc | 4 +- .../doc/src/concepts/statesanimations/states.qdoc | 2 +- .../doc/src/concepts/statesanimations/topic.qdoc | 2 +- src/quick/doc/src/qmltypereference.qdoc | 4 +- src/quick/doc/src/qtquick.qdoc | 4 +- src/quick/items/context2d/qquickcanvasitem.cpp | 10 ++-- src/quick/items/context2d/qquickcontext2d.cpp | 24 +++++----- src/quick/items/qquickdroparea.cpp | 4 +- src/quick/items/qquickflipable.cpp | 4 +- src/quick/items/qquickfocusscope.cpp | 2 +- src/quick/items/qquickgridview.cpp | 8 ++-- src/quick/items/qquickimage.cpp | 2 +- src/quick/items/qquickitem.cpp | 34 +++++++------- src/quick/items/qquickitemanimation.cpp | 10 ++-- src/quick/items/qquicklistview.cpp | 12 ++--- src/quick/items/qquickloader.cpp | 4 +- src/quick/items/qquickmultipointtoucharea.cpp | 2 +- src/quick/items/qquickpathview.cpp | 6 +-- src/quick/items/qquickpositioners.cpp | 16 +++---- src/quick/items/qquickrectangle.cpp | 2 +- src/quick/items/qquickrepeater.cpp | 6 +-- src/quick/items/qquickshadereffect.cpp | 2 +- src/quick/items/qquicktextedit.cpp | 4 ++ src/quick/items/qquicktextinput.cpp | 4 ++ src/quick/items/qquickview.cpp | 4 +- src/quick/items/qquickvisualdatamodel.cpp | 4 +- src/quick/items/qquickwindow.cpp | 4 +- src/quick/scenegraph/coreapi/qsggeometry.cpp | 2 +- src/quick/util/qquickanimation.cpp | 54 +++++++++++----------- src/quick/util/qquickanimationcontroller.cpp | 4 +- src/quick/util/qquickbehavior.cpp | 6 +-- src/quick/util/qquickpath.cpp | 6 +-- src/quick/util/qquickpropertychanges.cpp | 6 +-- src/quick/util/qquicksmoothedanimation.cpp | 4 +- src/quick/util/qquickspringanimation.cpp | 4 +- src/quick/util/qquickstate.cpp | 6 +-- src/quick/util/qquickstategroup.cpp | 8 ++-- src/quick/util/qquicktransition.cpp | 2 +- 44 files changed, 156 insertions(+), 148 deletions(-) (limited to 'src/quick') diff --git a/src/quick/doc/src/appdevguide/deployment.qdoc b/src/quick/doc/src/appdevguide/deployment.qdoc index 2104bb6552..916483a0d9 100644 --- a/src/quick/doc/src/appdevguide/deployment.qdoc +++ b/src/quick/doc/src/appdevguide/deployment.qdoc @@ -128,7 +128,7 @@ loaded as a QQmlComponent instance rather than placed into a view: } \endcode -See \l{qtqml-cppintegration-data.html}{Exposing C++ Data to QML} for more information about using +See \l{qtqml-cppintegration-data.html}{qtqml-cppintegration-exposecppattributes.html}{Exposing Attributes of C++ Types to QML} for more information about using QQmlEngine, QQmlContext and QQmlComponent, as well as details on including QML files through \l{The Qt Resource System}{Qt's Resource system}. diff --git a/src/quick/doc/src/appdevguide/glossary.qdoc b/src/quick/doc/src/appdevguide/glossary.qdoc index 65b9b3374d..a3b6db8a14 100644 --- a/src/quick/doc/src/appdevguide/glossary.qdoc +++ b/src/quick/doc/src/appdevguide/glossary.qdoc @@ -159,7 +159,7 @@ \li Signal \li A signal is a notification from a QML object. When an object emits a signal, other objects can receive and process this signal through - a \l{qtqml-syntax-objectattributes.html#signal-handlers}{signal handler}. + a \l{Signal Attributes}{signal handler}. Most properties of QML objects have a change signal, and also an associated change signal handler diff --git a/src/quick/doc/src/appdevguide/porting.qdoc b/src/quick/doc/src/appdevguide/porting.qdoc index eb1bb63db9..f4937fa658 100644 --- a/src/quick/doc/src/appdevguide/porting.qdoc +++ b/src/quick/doc/src/appdevguide/porting.qdoc @@ -67,7 +67,7 @@ Qt.inputMethod.hide() to show and hide the virtual keyboard. XmlListModel and XmlRole types must import \e {QtQuick.XmlListModel} instead. \li The local storage API that enables SQL support has been moved from the \l {QML Global Object} into a \c QtQuick.LocalStorage module API. Any code that requires the local storage API must import -\e {QtQuick.LocalStorage} with a namespaced import instead. See the \l LocalStorage documentation +\e {QtQuick.LocalStorage} with a namespaced import instead. See the \l \l{QtQuick.LocalStorage 2}{QtQuick.LocalStorage} documentation for examples. \li The \c LayoutItem type has been removed from the \c QtQuick module as it was specific to the Graphics View framework backend used in QtQuick 1. diff --git a/src/quick/doc/src/appdevguide/quickstart/components.qdoc b/src/quick/doc/src/appdevguide/quickstart/components.qdoc index b11f849a75..989eefad09 100644 --- a/src/quick/doc/src/appdevguide/quickstart/components.qdoc +++ b/src/quick/doc/src/appdevguide/quickstart/components.qdoc @@ -211,7 +211,7 @@ arrays. See the \l {list}{list type documentation} for details. Adding a \c property to an item automatically adds a \e {value changed} signal handler to the item. To connect to this signal, use a -\l{qtqml-syntax-objectattributes.html#signal-handlers}{signal handler} +\l{Signal Attributes}{signal handler} named with the \c onChanged syntax, using upper case for the first letter of the property name. @@ -431,7 +431,7 @@ performAction signal above; the allowed parameter types are the same as those li {Adding Properties} section on this page. Adding a signal to an item automatically adds a -\l{qtqml-syntax-objectattributes.html#signal-handlers}{signal handler} as well. +\l{Signal Attributes}{signal handler} as well. The signal hander is named \c on, with the first letter of the signal being upper cased. The above example item would now have the following signal handlers: @@ -467,7 +467,7 @@ Signal objects have a \c connect() method that can be used to a connect a signal another signal. When a signal is connected to a method, the method is automatically invoked whenever the signal is emitted. (In Qt terminology, the method is a \e slot that is connected to the \e signal; all methods defined in QML are created as Qt slots.) This enables a signal -to be received by a method instead of a \l{qtqml-syntax-objectattributes.html#signal-handlers} +to be received by a method instead of a \l{Signal Attributes} {signal handler}. For example, the \c application.qml above could be rewritten as: diff --git a/src/quick/doc/src/concepts/modelviewsdata/modelview.qdoc b/src/quick/doc/src/concepts/modelviewsdata/modelview.qdoc index d2c0307d03..c02a583e7d 100644 --- a/src/quick/doc/src/concepts/modelviewsdata/modelview.qdoc +++ b/src/quick/doc/src/concepts/modelviewsdata/modelview.qdoc @@ -187,7 +187,7 @@ To visualize data, bind the view's \c model property to a model and the QML provides several types of data models among the built-in set of QML elements. In addition, models can be created with Qt C++ and then made - available to the \l{qtqml-cppclasses-engine.html}{QML engine} for use by + available to the \l{QQmlEngine}{QMLEngine} for use by QML components. For information about creating these models, visit the \l{qtquick-modelviewsdata-cppmodels.html}{Using C++ Models with QtQuick Views} and \l{qtqml-typesystem-topic.html#qml-object-types} @@ -358,7 +358,7 @@ rectangles for the Grid item to position in a 5 by 5 arrangement. The number of items created by a Repeater is held by its \l{Repeater::}{count} property. It is not possible to set this property to determine the number of items to be created. Instead, as in the above example, we use an integer as -the model. This is explained in the \l{QML Data Models#An Integer}{QML Data Models} +the model. This is explained in the \l{qtquick-modelviewsdata-modelview.html#integers-as-models}{QML Data Models} document. It is also possible to use a delegate as the template for the items created diff --git a/src/quick/doc/src/concepts/positioning/righttoleft.qdoc b/src/quick/doc/src/concepts/positioning/righttoleft.qdoc index cc8add1286..53febb506f 100644 --- a/src/quick/doc/src/concepts/positioning/righttoleft.qdoc +++ b/src/quick/doc/src/concepts/positioning/righttoleft.qdoc @@ -91,7 +91,7 @@ views that takes the mirroring into account can be read from the \c effectiveLay The attached property \l LayoutMirroring is provided as a convenience for easily implementing right-to-left support for existing left-to-right Qt Quick applications. It mirrors the behavior of \l {anchor-layout} {Item anchors}, the layout direction of \l{Composing User Interfaces with QML#Positioners}{positioners} and -\l{qtquick-concepts-data-modelview.html}{model views}, and the explicit text alignment of QML text elements. +\l{qtquick-modelviewsdata-modelview.html}{model views}, and the explicit text alignment of QML text elements. You can enable layout mirroring for a particular \l Item: diff --git a/src/quick/doc/src/concepts/statesanimations/animations.qdoc b/src/quick/doc/src/concepts/statesanimations/animations.qdoc index cb607fe563..65e3a01589 100644 --- a/src/quick/doc/src/concepts/statesanimations/animations.qdoc +++ b/src/quick/doc/src/concepts/statesanimations/animations.qdoc @@ -28,7 +28,7 @@ /*! \ingroup qtquick-transitions-animations \page qtquick-statesanimations-animations.html -\title Animation and Transitions In Qt Quick +\title Animation and Transitions in Qt Quick \brief the animation system in Qt Quick \section1 Animation and Transitions Elements @@ -94,7 +94,7 @@ information about the different animation properties. \keyword qml-transition-animations \section2 Transitions during State Changes -\l{State}{States} are property configurations where a property may have different values to reflect different states. State changes introduce +\l{State}{Qt Quick States} are property configurations where a property may have different values to reflect different states. State changes introduce abrupt property changes; animations smooth transitions to produce visually appealing state changes. diff --git a/src/quick/doc/src/concepts/statesanimations/states.qdoc b/src/quick/doc/src/concepts/statesanimations/states.qdoc index 095a3cb883..a7a1282ba5 100644 --- a/src/quick/doc/src/concepts/statesanimations/states.qdoc +++ b/src/quick/doc/src/concepts/statesanimations/states.qdoc @@ -125,7 +125,7 @@ The \l {declarative/animation/states}{States and Transitions example} demonstrates how to declare a basic set of states and apply animated transitions between them. -\l{qtquick-statesanimations-behaviors.html}{Using QML Behaviors with States} +\l{qtquick-statesanimations-behaviors.html}{Using Qt Quick Behaviors with States} explains a common problem when using Behaviors to animate state changes. \section1 State Fast Forwarding diff --git a/src/quick/doc/src/concepts/statesanimations/topic.qdoc b/src/quick/doc/src/concepts/statesanimations/topic.qdoc index 25b0958162..f4c5e89480 100644 --- a/src/quick/doc/src/concepts/statesanimations/topic.qdoc +++ b/src/quick/doc/src/concepts/statesanimations/topic.qdoc @@ -27,7 +27,7 @@ /*! \page qtquick-statesanimations-topic.html -\title Concepts - States And Animations +\title Import Concepts in Qt Quick - States, Transitions and Animations \brief Description of the concepts of states, transitions and animations in Qt Quick In any modern user-interface, transitioning between states and animating diff --git a/src/quick/doc/src/qmltypereference.qdoc b/src/quick/doc/src/qmltypereference.qdoc index 6920fffb71..1db07cec47 100644 --- a/src/quick/doc/src/qmltypereference.qdoc +++ b/src/quick/doc/src/qmltypereference.qdoc @@ -45,7 +45,7 @@ imported via the following statement: import QtQuick 2.0 \endqml -See the \l{qtquick-main.html}{Qt Quick} module documentation for more +See the \l{qtquick-main.html}{QtQuick} module documentation for more information about the concepts which are central to \c QtQuick. \section1 Basic Types @@ -231,7 +231,7 @@ Views Data Storage \list -\li \l {LocalStorage} - Module API providing simplified SQL access +\li \l {QtQuick.LocalStorage 2} - Module API providing simplified SQL access \endlist \section2 Graphical Effects diff --git a/src/quick/doc/src/qtquick.qdoc b/src/quick/doc/src/qtquick.qdoc index 8fa21cee53..7c7715021b 100644 --- a/src/quick/doc/src/qtquick.qdoc +++ b/src/quick/doc/src/qtquick.qdoc @@ -80,11 +80,11 @@ To find out more about using the QML language, see the \l{Qt QML Module Document \li \l{qtquick-qmltypereference.html#object-types}{Object Types} \list \li \l{qtquick-qmltypereference.html#visual-types}{Visual Types} - \li \l{qtquick-qmltypereference.html#user-input-types}{User Input Types} + \li \l{qtquick-qmltypereference.html#user-input}{User Input} \li \l{qtquick-qmltypereference.html#positioning}{Positioning} \li \l{qtquick-qmltypereference.html#states-transitions-and-animations}{States, Transitions And Animations} \li \l{qtquick-qmltypereference.html#model-view-types-and-data-storage-and-access}{Model/View Types And Data Storage And Access} - \li \l{qtquick-qmltypereference.html#particles-and-graphical-effects}{Particles And Graphical Effects} + \li \l{qtquick-qmltypereference.html#graphical-effects}{Graphical Effects} \li \l{qtquick-qmltypereference.html#convenience-types}{Convenience Types} \li \l{qtquick-qmltypereference.html#canvas-similar-to-html5-canvas}{Canvas (similar to HTML5 Canvas)} \endlist diff --git a/src/quick/items/context2d/qquickcanvasitem.cpp b/src/quick/items/context2d/qquickcanvasitem.cpp index 16f08d3a3a..b7de41cae8 100644 --- a/src/quick/items/context2d/qquickcanvasitem.cpp +++ b/src/quick/items/context2d/qquickcanvasitem.cpp @@ -415,7 +415,7 @@ void QQuickCanvasItem::setCanvasSize(const QSizeF & size) By default the tileSize is the same as the canvasSize. - \sa QtQuick2::Canvas::canvaasSize, QtQuick2::Canvas::canvasWindow + \sa QtQuick2::Canvas::canvasSize, QtQuick2::Canvas::canvasWindow */ QSize QQuickCanvasItem::tileSize() const { @@ -873,8 +873,8 @@ QQmlRefPointer QQuickCanvasItem::loadedPixmap(const QUrl& ur The loaded image can be unloaded by the \a QtQuick2::Canvas::unloadImage method. Note: Only loaded images can be painted on the Canvas item. - \sa QtQuick2::Canvas::unloadImage, QtQuick2::Canvas::imageLoaded, QtQuick2::Canvas::isImageLoaded, - QtQuick2::Context2D::createImageData, QtQuick2::Context2D::drawImage + \sa QtQuick2::Canvas::unloadImage, QtQuick2::Canvas::onImageLoaded, QtQuick2::Canvas::isImageLoaded, + QtQuick2::Context2D::createImageData(), QtQuick2::Context2D::drawImage */ void QQuickCanvasItem::loadImage(const QUrl& url) { @@ -900,8 +900,8 @@ void QQuickCanvasItem::loadImage(const QUrl& url) Once an image is unloaded it cannot be painted by the canvas context unless it is loaded again. - \sa QtQuick2::Canvas::loadImage, QtQuick2::Canvas::imageLoaded, QtQuick2::Canvas::isImageLoaded, - QtQuick2::Context2D::createImageData, QtQuick2::Context2D::drawImage + \sa QtQuick2::Canvas::loadImage, QtQuick2::Canvas::onImageLoaded, QtQuick2::Canvas::isImageLoaded, + QtQuick2::Context2D::createImageData(), QtQuick2::Context2D::drawImage */ void QQuickCanvasItem::unloadImage(const QUrl& url) { diff --git a/src/quick/items/context2d/qquickcontext2d.cpp b/src/quick/items/context2d/qquickcontext2d.cpp index d940a0ba58..3b75229f7a 100644 --- a/src/quick/items/context2d/qquickcontext2d.cpp +++ b/src/quick/items/context2d/qquickcontext2d.cpp @@ -818,7 +818,7 @@ static void ctx2d_globalCompositeOperation_set(v8::Local, v8::Local< The default value is '#000000'. \sa QtQuick2::Context2D::createLinearGradient \sa QtQuick2::Context2D::createRadialGradient - \sa QtQuick2::Context2D::createPattern + \sa QtQuick2::Context2D::createPattern() \sa QtQuick2::Context2D::strokeStyle */ static v8::Handle ctx2d_fillStyle(v8::Local, const v8::AccessorInfo &info) @@ -923,7 +923,7 @@ static void ctx2d_fillRule_set(v8::Local, v8::Local value \sa QtQuick2::Context2D::createLinearGradient \sa QtQuick2::Context2D::createRadialGradient - \sa QtQuick2::Context2D::createPattern + \sa QtQuick2::Context2D::createPattern() \sa QtQuick2::Context2D::fillStyle */ v8::Handle ctx2d_strokeStyle(v8::Local, const v8::AccessorInfo &info) @@ -992,8 +992,8 @@ static void ctx2d_strokeStyle_set(v8::Local, v8::Local va \sa QtQuick2::Context2D::CanvasGradient::addColorStop \sa QtQuick2::Context2D::createRadialGradient - \sa QtQuick2::Context2D::ctx2d_createConicalGradient - \sa QtQuick2::Context2D::createPattern + \sa QtQuick2::Context2D::ctx2d_createConicalGradient() + \sa QtQuick2::Context2D::createPattern() \sa QtQuick2::Context2D::fillStyle \sa QtQuick2::Context2D::strokeStyle */ @@ -1038,8 +1038,8 @@ static v8::Handle ctx2d_createLinearGradient(const v8::Arguments &arg \sa QtQuick2::Context2D::CanvasGradient::addColorStop \sa QtQuick2::Context2D::createLinearGradient - \sa QtQuick2::Context2D::ctx2d_createConicalGradient - \sa QtQuick2::Context2D::createPattern + \sa QtQuick2::Context2D::ctx2d_createConicalGradient() + \sa QtQuick2::Context2D::createPattern() \sa QtQuick2::Context2D::fillStyle \sa QtQuick2::Context2D::strokeStyle */ @@ -1093,8 +1093,8 @@ static v8::Handle ctx2d_createRadialGradient(const v8::Arguments &arg \sa QtQuick2::Context2D::CanvasGradient::addColorStop \sa QtQuick2::Context2D::createLinearGradient - \sa QtQuick2::Context2D::ctx2d_createRadialGradient - \sa QtQuick2::Context2D::createPattern + \sa QtQuick2::Context2D::ctx2d_createRadialGradient() + \sa QtQuick2::Context2D::createPattern() \sa QtQuick2::Context2D::fillStyle \sa QtQuick2::Context2D::strokeStyle */ @@ -2256,7 +2256,7 @@ static v8::Handle ctx2d_measureText(const v8::Arguments &args) \sa QtQuick2::Image \sa QtQuick2::Canvas::loadImage \sa QtQuick2::Canvas::isImageLoaded - \sa QtQuick2::Canvas::imageLoaded + \sa QtQuick2::Canvas::onImageLoaded \sa {http://www.w3.org/TR/2dcontext/#dom-context-2d-drawimage}{W3C 2d context standard for drawImage} */ @@ -2276,7 +2276,7 @@ static v8::Handle ctx2d_measureText(const v8::Arguments &args) \sa QtQuick2::Image \sa QtQuick2::Canvas::loadImage \sa QtQuick2::Canvas::isImageLoaded - \sa QtQuick2::Canvas::imageLoaded + \sa QtQuick2::Canvas::onImageLoaded \sa {http://www.w3.org/TR/2dcontext/#dom-context-2d-drawimage}{W3C 2d context standard for drawImage} */ @@ -2297,7 +2297,7 @@ static v8::Handle ctx2d_measureText(const v8::Arguments &args) \sa QtQuick2::Image \sa QtQuick2::Canvas::loadImage \sa QtQuick2::Canvas::isImageLoaded - \sa QtQuick2::Canvas::imageLoaded + \sa QtQuick2::Canvas::onImageLoaded \sa {http://www.w3.org/TR/2dcontext/#dom-context-2d-drawimage}{W3C 2d context standard for drawImage} */ @@ -2419,7 +2419,7 @@ static v8::Handle ctx2d_drawImage(const v8::Arguments &args) \sa QtQuick2::CanvasImageData::width \sa QtQuick2::CanvasImageData::height \sa QtQuick2::CanvasImageData::data - \sa QtQuick2::Context2D::createImageData + \sa QtQuick2::Context2D::createImageData() \sa QtQuick2::Context2D::getImageData \sa QtQuick2::Context2D::putImageData */ diff --git a/src/quick/items/qquickdroparea.cpp b/src/quick/items/qquickdroparea.cpp index f7a8793a99..ab27993405 100644 --- a/src/quick/items/qquickdroparea.cpp +++ b/src/quick/items/qquickdroparea.cpp @@ -100,13 +100,13 @@ QQuickDropAreaPrivate::~QQuickDropAreaPrivate() A DropArea is an invisible item which receives events when other items are dragged over it. - The Drag attached property can be used to notify the DropArea when an Item is + The \l Drag attached property can be used to notify the DropArea when an Item is dragged over it. The \l keys property can be used to filter drag events which don't include a matching key. - The \l dropItem property is communicated to the source of a drag event as + The \l source property is communicated to the source of a drag event as the recipient of a drop on the drag target. The \l delegate property provides a means to specify a component to be diff --git a/src/quick/items/qquickflipable.cpp b/src/quick/items/qquickflipable.cpp index b4e3a385f4..0a472ea163 100644 --- a/src/quick/items/qquickflipable.cpp +++ b/src/quick/items/qquickflipable.cpp @@ -124,8 +124,8 @@ public: default states, the NumberAnimation animates the angle between its old and new values. - See \l {States} for details on state changes and the default - state, and \l {QML Animation and Transitions} for more information on how + See \l {Qt Quick States} for details on state changes and the default + state, and \l {Animation and Transitions in Qt Quick} for more information on how animations work within transitions. \sa {declarative/ui-components/flipable}{Flipable example} diff --git a/src/quick/items/qquickfocusscope.cpp b/src/quick/items/qquickfocusscope.cpp index 871a2cf193..9790b39702 100644 --- a/src/quick/items/qquickfocusscope.cpp +++ b/src/quick/items/qquickfocusscope.cpp @@ -54,7 +54,7 @@ QT_BEGIN_NAMESPACE Focus scopes assist in keyboard focus handling when building reusable QML components. All the details are covered in the - \l {qmlfocus}{keyboard focus documentation}. + \l {Keyboard Focus in Qt Quick}{keyboard focus documentation}. \sa {declarative/keyinteraction/focus}{Keyboard focus example} */ diff --git a/src/quick/items/qquickgridview.cpp b/src/quick/items/qquickgridview.cpp index b5623800fd..139f9e79f1 100644 --- a/src/quick/items/qquickgridview.cpp +++ b/src/quick/items/qquickgridview.cpp @@ -1186,7 +1186,7 @@ bool QQuickGridViewPrivate::flick(AxisData &data, qreal minExtent, qreal maxExte The currently selected item is highlighted with a blue \l Rectangle using the \l highlight property, and \c focus is set to \c true to enable keyboard navigation for the grid view. - The grid view itself is a focus scope (see \l{qmlfocus#Acquiring Focus and Focus Scopes}{the focus documentation page} for more details). + The grid view itself is a focus scope (see \l{Keyboard Focus in Qt Quick} for more details). Delegates are instantiated as needed and may be destroyed at any time. State should \e never be stored in a delegate. @@ -1335,7 +1335,7 @@ void QQuickGridView::setHighlightFollowsCurrentItem(bool autoHighlight) or \l VisualItemModel, or provided by C++ model classes. If a C++ model class is used, it must be a subclass of \l QAbstractItemModel or a simple list. - \sa {qmlmodels}{Data Models} + \sa {qml-data-models}{Data Models} */ /*! @@ -1343,7 +1343,7 @@ void QQuickGridView::setHighlightFollowsCurrentItem(bool autoHighlight) The delegate provides a template defining each item instantiated by the view. The index is exposed as an accessible \c index property. Properties of the - model are also available depending upon the type of \l {qmlmodels}{Data Model}. + model are also available depending upon the type of \l {qml-data-models}{Data Model}. The number of objects and bindings in the delegate has a direct effect on the flicking performance of the view. If at all possible, place functionality @@ -1716,7 +1716,7 @@ void QQuickGridView::setSnapMode(SnapMode mode) \list \li The view is first created \li The view's \l model changes - \li The view's \l model is \l {QAbstractItemModel::reset}{reset}, if the model is a QAbstractItemModel subclass + \li The view's \l model is \l {QAbstractItemModel::reset()}{reset}, if the model is a QAbstractItemModel subclass \endlist For example, here is a view that specifies such a transition: diff --git a/src/quick/items/qquickimage.cpp b/src/quick/items/qquickimage.cpp index 9d2babbccf..8b0392f403 100644 --- a/src/quick/items/qquickimage.cpp +++ b/src/quick/items/qquickimage.cpp @@ -403,7 +403,7 @@ qreal QQuickImage::paintedHeight() const If both the sourceSize.width and sourceSize.height are set the image will be scaled down to fit within the specified size, maintaining the image's aspect ratio. The actual - size of the image after scaling is available via \l implicitWidth and \l implicitHeight. + size of the image after scaling is available via \l Item::implicitWidth and \l Item::implicitHeight. If the source is an intrinsically scalable image (eg. SVG), this property determines the size of the loaded image regardless of intrinsic size. diff --git a/src/quick/items/qquickitem.cpp b/src/quick/items/qquickitem.cpp index f360ca5270..af470533dd 100644 --- a/src/quick/items/qquickitem.cpp +++ b/src/quick/items/qquickitem.cpp @@ -1478,7 +1478,7 @@ QQuickKeysAttached *QQuickKeysAttached::qmlAttachedProperties(QObject *obj) \brief Property used to mirror layout behavior The LayoutMirroring attached property is used to horizontally mirror \l {anchor-layout}{Item anchors}, - \l{Using QML Positioner and Repeater Items}{positioner} types (such as \l Row and \l Grid) + \l{Item Layouts}{positioner} types (such as \l Row and \l Grid) and views (such as \l GridView and horizontal \l ListView). Mirroring is a visual change: left anchors become right anchors, and positioner types like \l Grid and \l Row reverse the horizontal layout of child items. @@ -1509,7 +1509,7 @@ QQuickKeysAttached *QQuickKeysAttached::qmlAttachedProperties(QObject *obj) mirroring is not the desired behavior, or if the child item already implements mirroring in some custom way. - See \l {QML Right-to-left User Interfaces} for further details on using \c LayoutMirroring and + See \l {Right-to-left User Interfaces} for further details on using \c LayoutMirroring and other related features to implement right-to-left support for an application. */ @@ -1518,7 +1518,7 @@ QQuickKeysAttached *QQuickKeysAttached::qmlAttachedProperties(QObject *obj) This property holds whether the item's layout is mirrored horizontally. Setting this to true horizontally reverses \l {anchor-layout}{anchor} settings such that left anchors become right, - and right anchors become left. For \l{Using QML Positioner and Repeater Items}{positioner} types + and right anchors become left. For \l{Item Layouts}{positioner} types (such as \l Row and \l Grid) and view types (such as \l {GridView}{GridView} and \l {ListView}{ListView}) this also mirrors the horizontal layout direction of the item. @@ -1771,7 +1771,7 @@ void QQuickItemPrivate::updateSubFocusItem(QQuickItem *scope, bool focus) as \l {Keys::onPressed}{onPressed} and \l {Keys::onReleased}{onReleased}, as well as handlers for specific keys, such as \l {Keys::onCancelPressed}{onCancelPressed}. The example below - assigns \l {qmlfocus}{focus} to the item and handles + assigns \l {Keyboard Focus in Qt Quick}{focus} to the item and handles the Left key via the general \e onPressed handler and the Select key via the onSelectPressed handler: @@ -5484,7 +5484,7 @@ QRectF QQuickItem::mapRectFromScene(const QRectF &rect) const } \endqml - \sa {qmlstate}{States} + \sa {Qt Quick States}{Qt Quick States} */ /*! \qmlproperty list QtQuick2::Item::transitions @@ -5504,7 +5504,7 @@ QRectF QQuickItem::mapRectFromScene(const QRectF &rect) const } \endqml - \sa {QML Animation and Transitions}{Transitions} + \sa {Animation and Transitions in Qt Quick}{Transitions} */ /* \qmlproperty list QtQuick2::Item::filter @@ -5574,7 +5574,7 @@ QRectF QQuickItem::mapRectFromScene(const QRectF &rect) const set), \c state will be a blank string. Likewise, you can return an item to its base state by setting its current state to \c ''. - \sa {qmlstates}{States} + \sa {Qt Quick States}{Qt Quick States} */ /*! @@ -5623,7 +5623,7 @@ QRectF QQuickItem::mapRectFromScene(const QRectF &rect) const } \endqml - \sa focus, {qmlfocus}{Keyboard Focus} + \sa focus, {Keyboard Focus in Qt Quick}{Keyboard Focus} */ /*! @@ -5655,7 +5655,7 @@ QRectF QQuickItem::mapRectFromScene(const QRectF &rect) const } \endqml - \sa activeFocus, {qmlfocus}{Keyboard Focus} + \sa activeFocus, {Keyboard Focus in Qt Quick}{Keyboard Focus} */ @@ -6045,9 +6045,9 @@ void QQuickItemLayer::deactivateEffect() Holds the effect that is applied to this layer. The effect is typically a \l ShaderEffect component, although any \l Item component can be - assigned. The effect should have a source texture property with a name matching \l samplerName. + assigned. The effect should have a source texture property with a name matching \l layer.samplerName. - \sa samplerName + \sa layer.samplerName */ void QQuickItemLayer::setEffect(QQmlComponent *component) @@ -6135,10 +6135,10 @@ void QQuickItemLayer::setFormat(QQuickShaderEffectSource::Format f) /*! \qmlproperty enumeration QtQuick2::Item::layer.sourceRect - This property defines which rectangular area of the \l sourceItem to - render into the texture. The source rectangle can be larger than - \l sourceItem itself. If the rectangle is null, which is the default, - the whole \l sourceItem is rendered to texture. + This property defines the rectangular area of the item that should be + rendered into the texture. The source rectangle can be larger than + the item itself. If the rectangle is null, which is the default, + then the whole item is rendered to the texture. */ void QQuickItemLayer::setSourceRect(const QRectF &sourceRect) @@ -6235,10 +6235,10 @@ void QQuickItemLayer::setWrapMode(QQuickShaderEffectSource::WrapMode mode) Holds the name of the effect's source texture property. - samplerName needs to match the name of the effect's source texture property + This value must match the name of the effect's source texture property so that the Item can pass the layer's offscreen surface to the effect correctly. - \sa effect, ShaderEffect + \sa layer.effect, ShaderEffect */ void QQuickItemLayer::setName(const QByteArray &name) { diff --git a/src/quick/items/qquickitemanimation.cpp b/src/quick/items/qquickitemanimation.cpp index 078fb3f37a..aecf45b2fc 100644 --- a/src/quick/items/qquickitemanimation.cpp +++ b/src/quick/items/qquickitemanimation.cpp @@ -88,10 +88,10 @@ QT_BEGIN_NAMESPACE Like any other animation type, a ParentAnimation can be applied in a number of ways, including transitions, behaviors and property value - sources. The \l {QML Animation and Transitions} documentation shows a + sources. The \l {Animation and Transitions in Qt Quick} documentation shows a variety of methods for creating animations. - \sa {QML Animation and Transitions}, {declarative/animation/basics}{Animation basics example} + \sa {Animation and Transitions in Qt Quick}, {declarative/animation/basics}{Animation basics example} */ QQuickParentAnimation::QQuickParentAnimation(QObject *parent) : QQuickAnimationGroup(*(new QQuickParentAnimationPrivate), parent) @@ -436,10 +436,10 @@ QAbstractAnimationJob* QQuickParentAnimation::transition(QQuickStateActions &act Like any other animation type, an AnchorAnimation can be applied in a number of ways, including transitions, behaviors and property value - sources. The \l {QML Animation and Transitions} documentation shows a + sources. The \l {Animation and Transitions in Qt Quick} documentation shows a variety of methods for creating animations. - \sa {QML Animation and Transitions}, AnchorChanges + \sa {Animation and Transitions in Qt Quick}, AnchorChanges */ QQuickAnchorAnimation::QQuickAnchorAnimation(QObject *parent) : QQuickAbstractAnimation(*(new QQuickAnchorAnimationPrivate), parent) @@ -583,7 +583,7 @@ QAbstractAnimationJob* QQuickAnchorAnimation::transition(QQuickStateActions &act In the above case, the path start will be the item's current position, and the path end will be the item's target position in the target state. - \sa {QML Animation and Transitions}, PathInterpolator + \sa {Animation and Transitions in Qt Quick}, PathInterpolator */ QQuickPathAnimation::QQuickPathAnimation(QObject *parent) : QQuickAbstractAnimation(*(new QQuickPathAnimationPrivate), parent) diff --git a/src/quick/items/qquicklistview.cpp b/src/quick/items/qquicklistview.cpp index 818f045188..f9ff4db153 100644 --- a/src/quick/items/qquicklistview.cpp +++ b/src/quick/items/qquicklistview.cpp @@ -1691,13 +1691,13 @@ bool QQuickListViewPrivate::flick(AxisData &data, qreal minExtent, qreal maxExte The currently selected item is highlighted with a blue \l Rectangle using the \l highlight property, and \c focus is set to \c true to enable keyboard navigation for the list view. - The list view itself is a focus scope (see \l{qmlfocus#Acquiring Focus and Focus Scopes}{the focus documentation page} for more details). + The list view itself is a focus scope (see \l{Keyboard Focus in Qt Quick} for more details). Delegates are instantiated as needed and may be destroyed at any time. State should \e never be stored in a delegate. ListView attaches a number of properties to the root item of the delegate, for example - \c {ListView.isCurrentItem}. In the following example, the root delegate item can access + \c {ListView:isCurrentItem}. In the following example, the root delegate item can access this attached property directly as \c ListView.isCurrentItem, while the child \c contactInfo object must refer to this property as \c wrapper.ListView.isCurrentItem. @@ -1844,7 +1844,7 @@ QQuickListView::~QQuickListView() or \l VisualItemModel, or provided by C++ model classes. If a C++ model class is used, it must be a subclass of \l QAbstractItemModel or a simple list. - \sa {qmlmodels}{Data Models} + \sa {qml-data-models}{Data Models} */ /*! @@ -1852,7 +1852,7 @@ QQuickListView::~QQuickListView() The delegate provides a template defining each item instantiated by the view. The index is exposed as an accessible \c index property. Properties of the - model are also available depending upon the type of \l {qmlmodels}{Data Model}. + model are also available depending upon the type of \l {qml-data-models}{Data Model}. The number of objects and bindings in the delegate has a direct effect on the flicking performance of the view. If at all possible, place functionality @@ -2350,7 +2350,7 @@ void QQuickListView::setSnapMode(SnapMode mode) An instance of the header component is created for each view. The header is positioned at the beginning of the view, before any items. - \sa footer, headertem + \sa footer, headerItem */ /*! @@ -2384,7 +2384,7 @@ void QQuickListView::setSnapMode(SnapMode mode) \list \li The view is first created \li The view's \l model changes - \li The view's \l model is \l {QAbstractItemModel::reset}{reset}, if the model is a QAbstractItemModel subclass + \li The view's \l model is \l {QAbstractItemModel::reset()}{reset}, if the model is a QAbstractItemModel subclass \endlist For example, here is a view that specifies such a transition: diff --git a/src/quick/items/qquickloader.cpp b/src/quick/items/qquickloader.cpp index 52338af07a..591987866b 100644 --- a/src/quick/items/qquickloader.cpp +++ b/src/quick/items/qquickloader.cpp @@ -244,7 +244,7 @@ qreal QQuickLoaderPrivate::getImplicitHeight() const Loader is a focus scope. Its \l {Item::}{focus} property must be set to \c true for any of its children to get the \e {active focus}. (See - \l{qmlfocus#Acquiring Focus and Focus Scopes}{the focus documentation page} + \l{Keyboard Focus in Qt Quick} for more details.) Any key events received in the loaded item should likely also be \l {KeyEvent::}{accepted} so they are not propagated to the Loader. @@ -314,7 +314,7 @@ QQuickLoader::~QQuickLoader() /*! \qmlproperty bool QtQuick2::Loader::active This property is \c true if the Loader is currently active. - The default value for the \l active property is \c true. + The default value for this property is \c true. If the Loader is inactive, changing the \l source or \l sourceComponent will not cause the item to be instantiated until the Loader is made active. diff --git a/src/quick/items/qquickmultipointtoucharea.cpp b/src/quick/items/qquickmultipointtoucharea.cpp index f6f48e493f..1c954b3d6c 100644 --- a/src/quick/items/qquickmultipointtoucharea.cpp +++ b/src/quick/items/qquickmultipointtoucharea.cpp @@ -233,7 +233,7 @@ void QQuickTouchPoint::setSceneY(qreal sceneY) A MultiPointTouchArea is an invisible item that is used to track multiple touch points. - The \l enabled property is used to enable and disable touch handling. When disabled, + The \l Item::enabled property is used to enable and disable touch handling. When disabled, the touch area becomes transparent to mouse/touch events. MultiPointTouchArea can be used in two ways: diff --git a/src/quick/items/qquickpathview.cpp b/src/quick/items/qquickpathview.cpp index 00443fb013..748166a2b2 100644 --- a/src/quick/items/qquickpathview.cpp +++ b/src/quick/items/qquickpathview.cpp @@ -497,7 +497,7 @@ void QQuickPathViewPrivate::setDragging(bool d) } \endqml - The path view itself is a focus scope (see \l{qmlfocus#Acquiring Focus and Focus Scopes}{the focus documentation page} for more details). + The path view itself is a focus scope (see \l{Keyboard Focus in Qt Quick} for more details). Delegates are instantiated as needed and may be destroyed at any time. State should \e never be stored in a delegate. @@ -582,7 +582,7 @@ QQuickPathView::~QQuickPathView() \note changing the model will reset the offset and currentIndex to 0. - \sa {qmlmodels}{Data Models} + \sa {qml-data-models}{Data Models} */ QVariant QQuickPathView::model() const { @@ -1167,7 +1167,7 @@ bool QQuickPathView::isDragging() const The delegate provides a template defining each item instantiated by the view. The index is exposed as an accessible \c index property. Properties of the - model are also available depending upon the type of \l {qmlmodels}{Data Model}. + model are also available depending upon the type of \l {qml-data-models}{Data Model}. The number of objects and bindings in the delegate has a direct effect on the flicking performance of the view when pathItemCount is specified. If at all possible, place functionality diff --git a/src/quick/items/qquickpositioners.cpp b/src/quick/items/qquickpositioners.cpp index 333cd8f3ff..5e2f2e884f 100644 --- a/src/quick/items/qquickpositioners.cpp +++ b/src/quick/items/qquickpositioners.cpp @@ -504,8 +504,8 @@ void QQuickBasePositioner::updateAttachedProperties(QQuickPositionerAttached *sp where it exists within the layout of its parent Column, Row, Flow or Grid. For example, below is a \l Grid with 16 child rectangles, as created through a \l Repeater. - Each \l Rectangle displays its index in the Grid using \l Positioner.index, and the first - item is colored differently by taking \l Positioner.isFirstItem into account: + Each \l Rectangle displays its index in the Grid using \l {Positioner::index}{Positioner.index}, and the first + item is colored differently by taking \l {Positioner::isFirstItem}{Positioner.isFirstItem} into account: \code Grid { @@ -585,7 +585,7 @@ void QQuickPositionerAttached::setIsLastItem(bool isLastItem) Column is a type that positions its child items along a single column. It can be used as a convenient way to vertically position a series of items without - using \l {Anchor-based Layout in QML}{anchors}. + using \l {Positioning with Anchors}{anchors}. Below is a Column that contains three rectangles of various sizes: @@ -650,7 +650,7 @@ void QQuickPositionerAttached::setIsLastItem(bool isLastItem) \list \li Items that are created or reparented as a child of the positioner after the positioner has been created - \li Child items that change their \l visible property from false to true, and thus + \li Child items that change their \l Item::visible property from false to true, and thus are now visible \endlist @@ -754,7 +754,7 @@ void QQuickColumn::reportConflictingAnchors() Row is a type that positions its child items along a single row. It can be used as a convenient way to horizontally position a series of items without - using \l {Anchor-based Layout in QML}{anchors}. + using \l {Positioning with Anchors}{anchors}. Below is a Row that contains three rectangles of various sizes: @@ -804,7 +804,7 @@ void QQuickColumn::reportConflictingAnchors() \list \li Items that are created or reparented as a child of the positioner after the positioner has been created - \li Child items that change their \l visible property from false to true, and thus + \li Child items that change their \l Item::visible property from false to true, and thus are now visible \endlist @@ -1037,7 +1037,7 @@ void QQuickRow::reportConflictingAnchors() \list \li Items that are created or reparented as a child of the positioner after the positioner has been created - \li Child items that change their \l visible property from false to true, and thus + \li Child items that change their \l Item::visible property from false to true, and thus are now visible \endlist @@ -1471,7 +1471,7 @@ void QQuickGrid::reportConflictingAnchors() \list \li Items that are created or reparented as a child of the positioner after the positioner has been created - \li Child items that change their \l visible property from false to true, and thus + \li Child items that change their \l Item::visible property from false to true, and thus are now visible \endlist diff --git a/src/quick/items/qquickrectangle.cpp b/src/quick/items/qquickrectangle.cpp index 542f544eef..0e9a416101 100644 --- a/src/quick/items/qquickrectangle.cpp +++ b/src/quick/items/qquickrectangle.cpp @@ -286,7 +286,7 @@ int QQuickRectanglePrivate::doUpdateSlotIdx = -1; You can also create rounded rectangles using the \l radius property. Since this introduces curved edges to the corners of a rectangle, it may be appropriate to - set the \l antialiasing property to improve its appearance. + set the \l Item::antialiasing property to improve its appearance. \section1 Example Usage diff --git a/src/quick/items/qquickrepeater.cpp b/src/quick/items/qquickrepeater.cpp index 943375d0fa..beb7be8edc 100644 --- a/src/quick/items/qquickrepeater.cpp +++ b/src/quick/items/qquickrepeater.cpp @@ -85,7 +85,7 @@ QQuickRepeaterPrivate::~QQuickRepeaterPrivate() \image repeater-simple.png - A Repeater's \l model can be any of the supported \l {qmlmodels}{data models}. + A Repeater's \l model can be any of the supported \l {qml-data-models}{data models}. Additionally, like delegates for other views, a Repeater delegate can access its index within the repeater, as well as the model data relevant to the delegate. See the \l delegate property documentation for details. @@ -159,7 +159,7 @@ QQuickRepeater::~QQuickRepeater() The model providing data for the repeater. - This property can be set to any of the supported \l {qmlmodels}{data models}: + This property can be set to any of the supported \l {qml-data-models}{data models}: \list \li A number that indicates the number of delegates to be created by the repeater @@ -170,7 +170,7 @@ QQuickRepeater::~QQuickRepeater() The type of model affects the properties that are exposed to the \l delegate. - \sa {qmlmodels}{Data Models} + \sa {qml-data-models}{Data Models} */ QVariant QQuickRepeater::model() const { diff --git a/src/quick/items/qquickshadereffect.cpp b/src/quick/items/qquickshadereffect.cpp index 9ab926d627..1bb9b41d7e 100644 --- a/src/quick/items/qquickshadereffect.cpp +++ b/src/quick/items/qquickshadereffect.cpp @@ -743,7 +743,7 @@ void QQuickShaderEffect::setBlending(bool enable) \qmlproperty variant QtQuick2::ShaderEffect::mesh This property defines the mesh used to draw the ShaderEffect. It can hold - any mesh object deriving from \l QQuickShaderEffectMesh, such as \l GridMesh. + any \l GridMesh object. If a size value is assigned to this property, the ShaderEffect implicitly uses a \l GridMesh with the value as \l{GridMesh::resolution}{mesh resolution}. By default, this property is diff --git a/src/quick/items/qquicktextedit.cpp b/src/quick/items/qquicktextedit.cpp index 73d9b672bf..4d1eb61581 100644 --- a/src/quick/items/qquicktextedit.cpp +++ b/src/quick/items/qquicktextedit.cpp @@ -1484,6 +1484,8 @@ void QQuickTextEdit::paste() /*! + \qmlmethod QtQuick2::QQuickTextEdit::undo() + Undoes the last operation if undo is \l {canUndo}{available}. Deselects any current selection, and updates the selection start to the current cursor position. @@ -1496,6 +1498,8 @@ void QQuickTextEdit::undo() } /*! + \qmlmethod QtQuick2::QQuickTextEdit::redo() + Redoes the last operation if redo is \l {canRedo}{available}. */ diff --git a/src/quick/items/qquicktextinput.cpp b/src/quick/items/qquicktextinput.cpp index 73e329b4c1..5b7bbaf998 100644 --- a/src/quick/items/qquicktextinput.cpp +++ b/src/quick/items/qquicktextinput.cpp @@ -1928,6 +1928,8 @@ void QQuickTextInput::paste() #endif // QT_NO_CLIPBOARD /*! + \qmlmethod QtQuick2::TextInput::undo() + Undoes the last operation if undo is \l {canUndo}{available}. Deselects any current selection, and updates the selection start to the current cursor position. @@ -1943,6 +1945,8 @@ void QQuickTextInput::undo() } /*! + \qmlmethod QtQuick2::TextInput::redo() + Redoes the last operation if redo is \l {canRedo}{available}. */ diff --git a/src/quick/items/qquickview.cpp b/src/quick/items/qquickview.cpp index 2a56c7374c..87066f6d0f 100644 --- a/src/quick/items/qquickview.cpp +++ b/src/quick/items/qquickview.cpp @@ -149,7 +149,7 @@ void QQuickViewPrivate::itemGeometryChanged(QQuickItem *resizeItem, const QRectF size of the view. Alternatively the resizeMode may be set to SizeRootObjectToView which will resize the view to the size of the root object. - \sa {Exposing C++ Data to QML} + \sa {qtqml-cppintegration-exposecppattributes.html}{Exposing Attributes of C++ Types to QML} */ @@ -348,7 +348,7 @@ QList QQuickView::errors() const is the initial size of the root item. Note though that since QML may load dynamically, that size may change. - \sa initialSize + \sa initialSize() */ void QQuickView::setResizeMode(ResizeMode mode) diff --git a/src/quick/items/qquickvisualdatamodel.cpp b/src/quick/items/qquickvisualdatamodel.cpp index 832476e670..2f7e1622ce 100644 --- a/src/quick/items/qquickvisualdatamodel.cpp +++ b/src/quick/items/qquickvisualdatamodel.cpp @@ -292,7 +292,7 @@ void QQuickVisualDataModel::componentComplete() Models can also be created directly in QML, using a \l{ListModel} or \l{XmlListModel}. - \sa {qmlmodels}{Data Models} + \sa {qml-data-models}{Data Models} */ QVariant QQuickVisualDataModel::model() const { @@ -326,7 +326,7 @@ void QQuickVisualDataModel::setModel(const QVariant &model) The delegate provides a template defining each item instantiated by a view. The index is exposed as an accessible \c index property. Properties of the - model are also available depending upon the type of \l {qmlmodels}{Data Model}. + model are also available depending upon the type of \l {qml-data-models}{Data Model}. */ QQmlComponent *QQuickVisualDataModel::delegate() const { diff --git a/src/quick/items/qquickwindow.cpp b/src/quick/items/qquickwindow.cpp index 0a803c5aa6..3e1de8b2f0 100644 --- a/src/quick/items/qquickwindow.cpp +++ b/src/quick/items/qquickwindow.cpp @@ -926,7 +926,7 @@ QQuickWindow::~QQuickWindow() functions can be used to prevent this from happening, if handling the cleanup is not feasible in the application, at the cost of higher memory usage. - \sa sceneGraphInvalidated(), setPersistentOpenGLContext(), setPersistentSceneGraph(). + \sa sceneGraphInvalidated(), setPersistentOpenGLContext(), setPersistentSceneGraph() */ void QQuickWindow::releaseResources() @@ -2495,7 +2495,7 @@ QImage QQuickWindow::grabWindow() /*! Returns an incubation controller that splices incubation between frames for this window. QQuickView automatically installs this controller for you, - otherwise you will need to install it yourself using \l{QQmlEngine::setIncubationController} + otherwise you will need to install it yourself using \l{QQmlEngine::setIncubationController()}. The controller is owned by the window and will be destroyed when the window is deleted. diff --git a/src/quick/scenegraph/coreapi/qsggeometry.cpp b/src/quick/scenegraph/coreapi/qsggeometry.cpp index 49f64d52ec..54c5100490 100644 --- a/src/quick/scenegraph/coreapi/qsggeometry.cpp +++ b/src/quick/scenegraph/coreapi/qsggeometry.cpp @@ -201,7 +201,7 @@ const QSGGeometry::AttributeSet &QSGGeometry::defaultAttributes_ColoredPoint2D() \class QSGGeometry \brief The QSGGeometry class provides low-level - storage for graphics primitives in the \l{QML Scene Graph}. + storage for graphics primitives in the \l{Qt Quick Scene Graph}. \inmodule QtQuick diff --git a/src/quick/util/qquickanimation.cpp b/src/quick/util/qquickanimation.cpp index 10996d8d2b..6ed2b0151f 100644 --- a/src/quick/util/qquickanimation.cpp +++ b/src/quick/util/qquickanimation.cpp @@ -663,7 +663,7 @@ void QQuickAbstractAnimationPrivate::animationFinished(QAbstractAnimationJob*) } \endcode - \sa {QML Animation and Transitions}, {qml/animation/basics}{Animation basics example} + \sa {Animation and Transitions in Qt Quick}, {qml/animation/basics}{Animation basics example} */ QQuickPauseAnimation::QQuickPauseAnimation(QObject *parent) : QQuickAbstractAnimation(*(new QQuickPauseAnimationPrivate), parent) @@ -733,7 +733,7 @@ QAbstractAnimationJob* QQuickPauseAnimation::transition(QQuickStateActions &acti Like any other animation type, a ColorAnimation can be applied in a number of ways, including transitions, behaviors and property value - sources. The \l {QML Animation and Transitions} documentation shows a + sources. The \l {Animation and Transitions in Qt Quick} documentation shows a variety of methods for creating animations. For convenience, when a ColorAnimation is used in a \l Transition, it will @@ -742,7 +742,7 @@ QAbstractAnimationJob* QQuickPauseAnimation::transition(QQuickStateActions &acti \l{PropertyAnimation::}{properties} are explicitly set for the animation, then those are used instead. - \sa {QML Animation and Transitions}, {qml/animation/basics}{Animation basics example} + \sa {Animation and Transitions in Qt Quick}, {qml/animation/basics}{Animation basics example} */ QQuickColorAnimation::QQuickColorAnimation(QObject *parent) : QQuickPropertyAnimation(parent) @@ -781,7 +781,7 @@ QQuickColorAnimation::~QQuickColorAnimation() \l Transition, or the current value of the property at the moment the \l Behavior is triggered. - \sa {QML Animation and Transitions} + \sa {Animation and Transitions in Qt Quick} */ QColor QQuickColorAnimation::from() const { @@ -804,7 +804,7 @@ void QQuickColorAnimation::setFrom(const QColor &f) \l Transition, or the value of the property change that triggered the \l Behavior. - \sa {QML Animation and Transitions} + \sa {Animation and Transitions in Qt Quick} */ QColor QQuickColorAnimation::to() const { @@ -1025,7 +1025,7 @@ QAbstractAnimationJob* QQuickScriptAction::transition(QQuickStateActions &action PropertyAction object) so that the rotation animation begins with the correct transform origin. - \sa {QML Animation and Transitions}, QtQml + \sa {Animation and Transitions in Qt Quick}, QtQml */ QQuickPropertyAction::QQuickPropertyAction(QObject *parent) : QQuickAbstractAnimation(*(new QQuickPropertyActionPrivate), parent) @@ -1258,14 +1258,14 @@ QAbstractAnimationJob* QQuickPropertyAction::transition(QQuickStateActions &acti Like any other animation type, a NumberAnimation can be applied in a number of ways, including transitions, behaviors and property value - sources. The \l {QML Animation and Transitions} documentation shows a + sources. The \l {Animation and Transitions in Qt Quick} documentation shows a variety of methods for creating animations. Note that NumberAnimation may not animate smoothly if there are irregular changes in the number value that it is tracking. If this is the case, use SmoothedAnimation instead. - \sa {QML Animation and Transitions}, {qml/animation/basics}{Animation basics example} + \sa {Animation and Transitions in Qt Quick}, {qml/animation/basics}{Animation basics example} */ QQuickNumberAnimation::QQuickNumberAnimation(QObject *parent) : QQuickPropertyAnimation(parent) @@ -1314,7 +1314,7 @@ void QQuickNumberAnimation::init() \l Transition, or the current value of the property at the moment the \l Behavior is triggered. - \sa {QML Animation and Transitions} + \sa {Animation and Transitions in Qt Quick} */ qreal QQuickNumberAnimation::from() const @@ -1337,7 +1337,7 @@ void QQuickNumberAnimation::setFrom(qreal f) \l Transition, or the value of the property change that triggered the \l Behavior. - \sa {QML Animation and Transitions} + \sa {Animation and Transitions in Qt Quick} */ qreal QQuickNumberAnimation::to() const { @@ -1365,10 +1365,10 @@ void QQuickNumberAnimation::setTo(qreal t) Like any other animation type, a Vector3dAnimation can be applied in a number of ways, including transitions, behaviors and property value - sources. The \l {QML Animation and Transitions} documentation shows a + sources. The \l {Animation and Transitions in Qt Quick} documentation shows a variety of methods for creating animations. - \sa {QML Animation and Transitions}, {qml/animation/basics}{Animation basics example} + \sa {Animation and Transitions in Qt Quick}, {qml/animation/basics}{Animation basics example} */ QQuickVector3dAnimation::QQuickVector3dAnimation(QObject *parent) : QQuickPropertyAnimation(parent) @@ -1392,7 +1392,7 @@ QQuickVector3dAnimation::~QQuickVector3dAnimation() \l Transition, or the current value of the property at the moment the \l Behavior is triggered. - \sa {QML Animation and Transitions} + \sa {Animation and Transitions in Qt Quick} */ QVector3D QQuickVector3dAnimation::from() const { @@ -1414,7 +1414,7 @@ void QQuickVector3dAnimation::setFrom(QVector3D f) \l Transition, or the value of the property change that triggered the \l Behavior. - \sa {QML Animation and Transitions} + \sa {Animation and Transitions in Qt Quick} */ QVector3D QQuickVector3dAnimation::to() const { @@ -1465,10 +1465,10 @@ void QQuickVector3dAnimation::setTo(QVector3D t) Like any other animation type, a RotationAnimation can be applied in a number of ways, including transitions, behaviors and property value - sources. The \l {QML Animation and Transitions} documentation shows a + sources. The \l {Animation and Transitions in Qt Quick} documentation shows a variety of methods for creating animations. - \sa {QML Animation and Transitions}, {qml/animation/basics}{Animation basics example} + \sa {Animation and Transitions in Qt Quick}, {qml/animation/basics}{Animation basics example} */ QVariant _q_interpolateShortestRotation(qreal &f, qreal &t, qreal progress) { @@ -1544,7 +1544,7 @@ QQuickRotationAnimation::~QQuickRotationAnimation() \l Transition, or the current value of the property at the moment the \l Behavior is triggered. - \sa {QML Animation and Transitions} + \sa {Animation and Transitions in Qt Quick} */ qreal QQuickRotationAnimation::from() const { @@ -1566,7 +1566,7 @@ void QQuickRotationAnimation::setFrom(qreal f) \l Transition, or the value of the property change that triggered the \l Behavior. - \sa {QML Animation and Transitions} + \sa {Animation and Transitions in Qt Quick} */ qreal QQuickRotationAnimation::to() const { @@ -1694,14 +1694,14 @@ QQmlListProperty QQuickAnimationGroup::animations() Like any other animation type, a SequentialAnimation can be applied in a number of ways, including transitions, behaviors and property value - sources. The \l {QML Animation and Transitions} documentation shows a + sources. The \l {Animation and Transitions in Qt Quick} documentation shows a variety of methods for creating animations. \note Once an animation has been grouped into a SequentialAnimation or ParallelAnimation, it cannot be individually started and stopped; the SequentialAnimation or ParallelAnimation must be started and stopped as a group. - \sa ParallelAnimation, {QML Animation and Transitions}, {qml/animation/basics}{Animation basics example} + \sa ParallelAnimation, {Animation and Transitions in Qt Quick}, {qml/animation/basics}{Animation basics example} */ QQuickSequentialAnimation::QQuickSequentialAnimation(QObject *parent) : @@ -1764,14 +1764,14 @@ QAbstractAnimationJob* QQuickSequentialAnimation::transition(QQuickStateActions Like any other animation type, a ParallelAnimation can be applied in a number of ways, including transitions, behaviors and property value - sources. The \l {QML Animation and Transitions} documentation shows a + sources. The \l {Animation and Transitions in Qt Quick} documentation shows a variety of methods for creating animations. \note Once an animation has been grouped into a SequentialAnimation or ParallelAnimation, it cannot be individually started and stopped; the SequentialAnimation or ParallelAnimation must be started and stopped as a group. - \sa SequentialAnimation, {QML Animation and Transitions}, {qml/animation/basics}{Animation basics example} + \sa SequentialAnimation, {Animation and Transitions in Qt Quick}, {qml/animation/basics}{Animation basics example} */ QQuickParallelAnimation::QQuickParallelAnimation(QObject *parent) : QQuickAnimationGroup(parent) @@ -1926,12 +1926,12 @@ void QQuickBulkValueAnimator::topLevelAnimationLoopChanged() Depending on how the animation is used, the set of properties normally used will be different. For more information see the individual property documentation, as well - as the \l{QML Animation and Transitions} introduction. + as the \l{Animation and Transitions in Qt Quick} introduction. Note that PropertyAnimation inherits the abstract \l Animation type. This includes additional properties and methods for controlling the animation. - \sa {QML Animation and Transitions}, {qml/animation/basics}{Animation basics example} + \sa {Animation and Transitions in Qt Quick}, {qml/animation/basics}{Animation basics example} */ QQuickPropertyAnimation::QQuickPropertyAnimation(QObject *parent) @@ -1983,7 +1983,7 @@ void QQuickPropertyAnimation::setDuration(int duration) \l Transition, or the current value of the property at the moment the \l Behavior is triggered. - \sa {QML Animation and Transitions} + \sa {Animation and Transitions in Qt Quick} */ QVariant QQuickPropertyAnimation::from() const { @@ -2010,7 +2010,7 @@ void QQuickPropertyAnimation::setFrom(const QVariant &f) \l Transition, or the value of the property change that triggered the \l Behavior. - \sa {QML Animation and Transitions} + \sa {Animation and Transitions in Qt Quick} */ QVariant QQuickPropertyAnimation::to() const { @@ -2386,7 +2386,7 @@ void QQuickPropertyAnimation::setProperties(const QString &prop) As seen in the above example, properties is specified as a comma-separated string of property names to animate. - \sa exclude, {QML Animation and Transitions} + \sa exclude, {Animation and Transitions in Qt Quick} */ QQmlListProperty QQuickPropertyAnimation::targets() { diff --git a/src/quick/util/qquickanimationcontroller.cpp b/src/quick/util/qquickanimationcontroller.cpp index 7a0eba88d4..43784603ca 100644 --- a/src/quick/util/qquickanimationcontroller.cpp +++ b/src/quick/util/qquickanimationcontroller.cpp @@ -243,7 +243,7 @@ void QQuickAnimationController::componentFinalized() The animation controller's progress value will be automatically updated while the animation is running. - \sa completeToEnd(), progress() + \sa completeToEnd(), progress */ void QQuickAnimationController::completeToBeginning() { @@ -272,7 +272,7 @@ void QQuickAnimationController::completeToBeginning() The animation controller's progress value will be automatically updated while the animation is running. - \sa completeToBeginning(), progress() + \sa completeToBeginning(), progress */ void QQuickAnimationController::completeToEnd() { diff --git a/src/quick/util/qquickbehavior.cpp b/src/quick/util/qquickbehavior.cpp index 77ea7967b8..a58dbba28f 100644 --- a/src/quick/util/qquickbehavior.cpp +++ b/src/quick/util/qquickbehavior.cpp @@ -93,12 +93,12 @@ public: multiple animations within a Behavior, use ParallelAnimation or SequentialAnimation. - If a \l{States}{state change} has a \l Transition that matches the same property as a + If a \l{Qt Quick States}{state change} has a \l Transition that matches the same property as a Behavior, the \l Transition animation overrides the Behavior for that state change. For general advice on using Behaviors to animate state changes, see - \l{Using QML Behaviors with States}. + \l{Using Qt Quick Behaviors with States}. - \sa {QML Animation and Transitions}, {declarative/animation/behaviors}{Behavior example}, QtQml + \sa {Animation and Transitions in Qt Quick}, {declarative/animation/behaviors}{Behavior example}, QtQml */ diff --git a/src/quick/util/qquickpath.cpp b/src/quick/util/qquickpath.cpp index a38e12d90f..c942959d07 100644 --- a/src/quick/util/qquickpath.cpp +++ b/src/quick/util/qquickpath.cpp @@ -814,7 +814,7 @@ bool QQuickCurve::hasRelativeY() The PathAttribute object allows attributes consisting of a name and a value to be specified for various points along a path. The attributes are exposed to the delegate as - \l{qdeclarativeintroduction.html#attached-properties} {Attached Properties}. + \l{Attached Properties and Attached Signal Handlers} {Attached Properties}. The value of an attribute at any particular point along the path is interpolated from the PathAttributes bounding that point. @@ -845,7 +845,7 @@ bool QQuickCurve::hasRelativeY() Note that using an existing Item property name such as "opacity" as an attribute is allowed. This is because path attributes add a new - \l{qdeclarativeintroduction.html#attached-properties} {Attached Property} + \l{Attached Properties and Attached Signal Handlers} {Attached Property} which in no way clashes with existing properties. */ @@ -886,7 +886,7 @@ void QQuickPathAttribute::setName(const QString &name) \endqml In our delegate, we can then bind the \e rotation property to the - \l{qdeclarativeintroduction.html#attached-properties} {Attached Property} + \l{Attached Properties and Attached Signal Handlers} {Attached Property} \e PathView.itemRotation created for this attribute. \qml diff --git a/src/quick/util/qquickpropertychanges.cpp b/src/quick/util/qquickpropertychanges.cpp index 6bd48e2900..48c00f1d51 100644 --- a/src/quick/util/qquickpropertychanges.cpp +++ b/src/quick/util/qquickpropertychanges.cpp @@ -72,7 +72,7 @@ QT_BEGIN_NAMESPACE PropertyChanges is used to define the property values or bindings in a \l State. This enables an item's property values to be changed when it - \l {States}{changes between states}. + \l {Qt Quick States}{changes between states}. To create a PropertyChanges object, specify the \l target item whose properties are to be modified, and define the new property values or @@ -119,7 +119,7 @@ QT_BEGIN_NAMESPACE \section2 Immediate property changes in transitions - When \l{QML Animation and Transitions}{Transitions} are used to animate + When \l{Animation and Transitions in Qt Quick}{Transitions} are used to animate state changes, they animate properties from their values in the current state to those defined in the new state (as defined by PropertyChanges objects). However, it is sometimes desirable to set a property value @@ -129,7 +129,7 @@ QT_BEGIN_NAMESPACE See the PropertyAction documentation for more details. - \sa {declarative/animation/states}{states example}, {qmlstate}{States}, QtQml + \sa {declarative/animation/states}{states example}, {Qt Quick States}{Qt Quick States}, QtQml */ /*! diff --git a/src/quick/util/qquicksmoothedanimation.cpp b/src/quick/util/qquicksmoothedanimation.cpp index 9684cf6c0c..cf7ec9a4fc 100644 --- a/src/quick/util/qquicksmoothedanimation.cpp +++ b/src/quick/util/qquicksmoothedanimation.cpp @@ -348,10 +348,10 @@ void QSmoothedAnimation::init() Like any other animation type, a SmoothedAnimation can be applied in a number of ways, including transitions, behaviors and property value - sources. The \l {QML Animation and Transitions} documentation shows a + sources. The \l {Animation and Transitions in Qt Quick} documentation shows a variety of methods for creating animations. - \sa SpringAnimation, NumberAnimation, {QML Animation and Transitions}, {declarative/animation/basics}{Animation basics example} + \sa SpringAnimation, NumberAnimation, {Animation and Transitions in Qt Quick}, {declarative/animation/basics}{Animation basics example} */ QQuickSmoothedAnimation::QQuickSmoothedAnimation(QObject *parent) diff --git a/src/quick/util/qquickspringanimation.cpp b/src/quick/util/qquickspringanimation.cpp index e5780f6087..97d003b4e7 100644 --- a/src/quick/util/qquickspringanimation.cpp +++ b/src/quick/util/qquickspringanimation.cpp @@ -362,10 +362,10 @@ void QQuickSpringAnimationPrivate::updateMode() Like any other animation type, a SpringAnimation can be applied in a number of ways, including transitions, behaviors and property value - sources. The \l {QML Animation and Transitions} documentation shows a + sources. The \l {Animation and Transitions in Qt Quick} documentation shows a variety of methods for creating animations. - \sa SmoothedAnimation, {QML Animation and Transitions}, {declarative/animation/basics}{Animation basics example}, {declarative/toys/clocks}{Clocks example} + \sa SmoothedAnimation, {Animation and Transitions in Qt Quick}, {declarative/animation/basics}{Animation basics example}, {declarative/toys/clocks}{Clocks example} */ QQuickSpringAnimation::QQuickSpringAnimation(QObject *parent) diff --git a/src/quick/util/qquickstate.cpp b/src/quick/util/qquickstate.cpp index 99f9819590..02d5a2373e 100644 --- a/src/quick/util/qquickstate.cpp +++ b/src/quick/util/qquickstate.cpp @@ -144,14 +144,14 @@ QQuickStateOperation::QQuickStateOperation(QObjectPrivate &dd, QObject *parent) Notice the default state is referred to using an empty string (""). - States are commonly used together with \l{QML Animation and Transitions}{Transitions} to provide + States are commonly used together with \l{Animation and Transitions in Qt Quick}{Transitions} to provide animations when state changes occur. \note Setting the state of an object from within another state of the same object is not allowed. - \sa {declarative/animation/states}{states example}, {qmlstates}{States}, - {QML Animation and Transitions}{Transitions}, QtQml + \sa {declarative/animation/states}{states example}, {Qt Quick States}{Qt Quick States}, + {Animation and Transitions in Qt Quick}{Transitions}, QtQml */ QQuickState::QQuickState(QObject *parent) : QObject(*(new QQuickStatePrivate), parent) diff --git a/src/quick/util/qquickstategroup.cpp b/src/quick/util/qquickstategroup.cpp index 23a7348ded..9ffd0dede1 100644 --- a/src/quick/util/qquickstategroup.cpp +++ b/src/quick/util/qquickstategroup.cpp @@ -119,7 +119,7 @@ public: } \endqml - \sa {qmlstate}{States}, {QML Animation and Transitions}{Transitions}, {QtQml} + \sa {Qt Quick States}{Qt Quick States}, {Animation and Transitions in Qt Quick}{Transitions}, {QtQml} */ QQuickStateGroup::QQuickStateGroup(QObject *parent) @@ -158,7 +158,7 @@ QList QQuickStateGroup::states() const } \endqml - \sa {qmlstate}{States} + \sa {Qt Quick States}{Qt Quick States} */ QQmlListProperty QQuickStateGroup::statesProperty() { @@ -219,7 +219,7 @@ void QQuickStateGroupPrivate::clear_states(QQmlListProperty *list) } \endqml - \sa {QML Animation and Transitions}{Transitions} + \sa {Animation and Transitions in Qt Quick}{Transitions} */ QQmlListProperty QQuickStateGroup::transitionsProperty() { @@ -276,7 +276,7 @@ void QQuickStateGroupPrivate::clear_transitions(QQmlListProperty