diff options
author | Sze Howe Koh <szehowe.koh@gmail.com> | 2013-04-17 23:03:16 +0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-23 18:29:25 +0200 |
commit | 59f075df52f5e78b95b360fb0533c2249924e7a7 (patch) | |
tree | eab4bff86cbabf6ced5beed81238c5744a53d53e /src/qml/types | |
parent | ee2a4a90cdfc024d452ca82dfb2e1d84c050595f (diff) |
Doc: Qt Quick: Fix module name format (Pt 1/2)
Follow the conventions at
http://qt-project.org/wiki/Spelling_Module_Names_in_Qt_Documentation
Attempt to differentiate between the whole module ("Qt Quick") and the
QML import ("QtQuick") by encoding the latter with monospace font. There
are places in the text where both representations are valid.
Change-Id: Id6e157a4191aaa4e23a9cd5c76abfe902fe43d33
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/qml/types')
-rw-r--r-- | src/qml/types/qqmldelegatemodel.cpp | 6 | ||||
-rw-r--r-- | src/qml/types/qqmllistmodel.cpp | 4 | ||||
-rw-r--r-- | src/qml/types/qqmlobjectmodel.cpp | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/qml/types/qqmldelegatemodel.cpp b/src/qml/types/qqmldelegatemodel.cpp index ad2b6f91e4..f0df75c7c3 100644 --- a/src/qml/types/qqmldelegatemodel.cpp +++ b/src/qml/types/qqmldelegatemodel.cpp @@ -128,7 +128,7 @@ QQmlDelegateModelParts::QQmlDelegateModelParts(QQmlDelegateModel *parent) The VisualDataModel type encapsulates a model and the delegate that will be instantiated for items in a model. - This type is provided by QtQuick 2 for compatibility reasons. The same implementation + This type is provided by \c {QtQuick 2} for compatibility reasons. The same implementation is now primarily available as DelegateModel in the QtQml.Models module. \sa {QtQml.Models2::DelegateModel} @@ -142,7 +142,7 @@ QQmlDelegateModelParts::QQmlDelegateModelParts(QQmlDelegateModel *parent) The DelegateModel type encapsulates a model and the delegate that will be instantiated for items in the model. - This element is also available as DelegateModel in the QtQuick module. For full details, + This element is also available as DelegateModel in the \c QtQuick module. For full details, see the \l DelegateModel documentation. The DelegateModel type encapsulates a model and the delegate that will @@ -2183,7 +2183,7 @@ void QQmlDelegateModelGroupPrivate::destroyingPackage(QQuickPackage *package) The DelegateModelGroup type provides a means to address the model data of a DelegateModel's delegate items, as well as sort and filter these delegate items. - This element is also available as DelegateModelGroup in the QtQuick module. For full details, + This element is also available as DelegateModelGroup in the \c QtQuick module. For full details, see the \l DelegateModelGroup documentation. \sa {QtQuick::DelegateModelGroup} diff --git a/src/qml/types/qqmllistmodel.cpp b/src/qml/types/qqmllistmodel.cpp index 5b8cb436c0..9277b6ea8f 100644 --- a/src/qml/types/qqmllistmodel.cpp +++ b/src/qml/types/qqmllistmodel.cpp @@ -1431,7 +1431,7 @@ QQmlListModelParser::ListInstruction *QQmlListModelParser::ListModelData::instru The ListModel is a simple container of ListElement definitions, each containing data roles. The contents can be defined dynamically, or explicitly in QML. - This type is also available in the QtQuick 2 import. For full documentation, see \l QtQuick2::ListModel + This type is also available in the \c {QtQuick 2} import. For full documentation, see \l QtQuick2::ListModel */ /*! \qmltype ListModel @@ -2540,7 +2540,7 @@ bool QQmlListModelParser::definesEmptyList(const QString &s) List elements are defined inside ListModel definitions, and represent items in a list. - This type is also available in the QtQuick 2 import. For full documentation, see \l QtQuick2::ListElement + This type is also available in the \c {QtQuick 2} import. For full documentation, see \l QtQuick2::ListElement */ /*! \qmltype ListElement diff --git a/src/qml/types/qqmlobjectmodel.cpp b/src/qml/types/qqmlobjectmodel.cpp index b60dae4126..3e8a67a7d2 100644 --- a/src/qml/types/qqmlobjectmodel.cpp +++ b/src/qml/types/qqmlobjectmodel.cpp @@ -176,7 +176,7 @@ public: as a model. This element is now primarily available as ObjectModel in the QtQml.Models module. - VisualItemModel continues to be provided, with the same implementation, in QtQuick for + VisualItemModel continues to be provided, with the same implementation, in \c QtQuick for compatibility reasons. For full details about the type, see the \l ObjectModel documentation. |