diff options
author | Nico Vertriest <nico.vertriest@digia.com> | 2013-10-23 16:05:04 +0200 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2013-10-25 07:53:36 +0300 |
commit | 986060cbcfd51c332c5832219147c3aff8f2141d (patch) | |
tree | 37a3f5953e09c3b96d2d33834962062970ee6cd9 /src/datavisualization/data/qitemmodelsurfacedatamapping.cpp | |
parent | 24e79858946808da060fb1cb3088f554d82d4984 (diff) |
Doc: language review datavisualization
Task-number: QTBUG-33360
Change-Id: I67eaab3914effa2a7a5be1b72c6d2c59cb2402f6
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'src/datavisualization/data/qitemmodelsurfacedatamapping.cpp')
-rw-r--r-- | src/datavisualization/data/qitemmodelsurfacedatamapping.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/datavisualization/data/qitemmodelsurfacedatamapping.cpp b/src/datavisualization/data/qitemmodelsurfacedatamapping.cpp index 928b8170..eead9a8e 100644 --- a/src/datavisualization/data/qitemmodelsurfacedatamapping.cpp +++ b/src/datavisualization/data/qitemmodelsurfacedatamapping.cpp @@ -44,7 +44,7 @@ QT_DATAVISUALIZATION_BEGIN_NAMESPACE * columns. * * For example, assume that you have a custom QAbstractItemModel storing surface topography data. - * Each item in the model has roles "longitude", "latitude" and "height". The item model already + * Each item in the model has the roles "longitude", "latitude", and "height". The item model already * contains the data properly sorted so that longitudes and latitudes are first encountered in * correct order, which enables us to utilize the row and column category autogeneration. * You could do the following to display the data in a surface graph: @@ -63,7 +63,7 @@ QT_DATAVISUALIZATION_BEGIN_NAMESPACE * \brief Item model mapping for Surface3D. * * This type is used to map roles of AbstractItemModel to rows, columns, and values of Surface3D. - * For more complete description, see QItemModelSurfaceDataMapping. + * For a more complete description, see QItemModelSurfaceDataMapping. * * Usage example: * @@ -142,7 +142,7 @@ QItemModelSurfaceDataMapping::QItemModelSurfaceDataMapping(const QString &valueR } /*! - * Constructs QItemModelSurfaceDataMapping with \a rowRole, \a columnRole, \a valueRole + * Constructs QItemModelSurfaceDataMapping with \a rowRole, \a columnRole, \a valueRole, * and the given \a parent. */ QItemModelSurfaceDataMapping::QItemModelSurfaceDataMapping(const QString &rowRole, @@ -158,7 +158,7 @@ QItemModelSurfaceDataMapping::QItemModelSurfaceDataMapping(const QString &rowRol /*! * Constructs QItemModelSurfaceDataMapping with \a rowRole, \a columnRole, \a valueRole, - * \a rowCategories, \a columnCategories and the given \a parent. This constructor + * \a rowCategories, \a columnCategories, and the given \a parent. This constructor * also sets autoRowCategories and autoColumnCategories to false. */ QItemModelSurfaceDataMapping::QItemModelSurfaceDataMapping(const QString &rowRole, @@ -359,7 +359,7 @@ void QItemModelSurfaceDataMapping::remap(const QString &rowRole, * /return index of the specified \a category in row categories list. * If the row categories list is empty, -1 is returned. * \note If the automatic row categories generation is in use, this method will - * not return valid index before the data in the model is resolved for the first time. + * not return a valid index before the data in the model is resolved for the first time. */ int QItemModelSurfaceDataMapping::rowCategoryIndex(const QString &category) { @@ -369,7 +369,7 @@ int QItemModelSurfaceDataMapping::rowCategoryIndex(const QString &category) /*! * /return index of the specified \a category in column categories list. * \note If the automatic column categories generation is in use, this method will - * not return valid index before the data in the model is resolved for the first time. + * not return a valid index before the data in the model is resolved for the first time. */ int QItemModelSurfaceDataMapping::columnCategoryIndex(const QString &category) { |