summaryrefslogtreecommitdiff
path: root/src/positioning
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@qt.io>2017-03-29 16:16:50 +0200
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-04-10 12:41:26 +0000
commit4a4e4ace4582b4e769f9ffdcf1527976e7c76273 (patch)
tree9376fa9ab84eb9f948cae4ddcb7777d23be05eee /src/positioning
parentf982dda0cedeae1f52dbcd5dce32ff0d478e0c8a (diff)
downloadqtlocation-4a4e4ace4582b4e769f9ffdcf1527976e7c76273.tar.gz
Doc: Complete parameter documentation
qdeclarativegeomap.cpp: 1327: warning: Can't link to 'Component.onCompleted' qgeopath.cpp:117: warning: Undocumented parameter 'width' in QGeoPath::QGeoPath() qgeopath.cpp:117: warning: Undocumented parameter 'path' in QGeoPath::QGeoPath() qgeoshape.cpp:90: warning: Undocumented enum item 'PathType' in QGeoShape::ShapeType qgeoshape.cpp:231: warning: No such parameter 'QGeoRectangle' in QGeoShape::boundingGeoRectangle() Change-Id: Ie57dff2aabe82d61b8122362a396ac706939c3b3 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'src/positioning')
-rw-r--r--src/positioning/qgeopath.cpp3
-rw-r--r--src/positioning/qgeoshape.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/positioning/qgeopath.cpp b/src/positioning/qgeopath.cpp
index 87f4a9d4..b24daec6 100644
--- a/src/positioning/qgeopath.cpp
+++ b/src/positioning/qgeopath.cpp
@@ -115,7 +115,8 @@ QGeoPath::QGeoPath()
}
/*!
- Constructs a new geo path from a list of coordinates.
+ Constructs a new geo path from a list of coordinates
+ (\a path and \a width).
*/
QGeoPath::QGeoPath(const QList<QGeoCoordinate> &path, const qreal &width)
: QGeoShape(new QGeoPathPrivate(path, width))
diff --git a/src/positioning/qgeoshape.cpp b/src/positioning/qgeoshape.cpp
index 60ef18a4..73dccaa4 100644
--- a/src/positioning/qgeoshape.cpp
+++ b/src/positioning/qgeoshape.cpp
@@ -95,6 +95,7 @@ bool QGeoShapePrivate::operator==(const QGeoShapePrivate &other) const
\value UnknownType A shape of unknown type.
\value RectangleType A rectangular shape.
\value CircleType A circular shape.
+ \value PathType A path type.
*/
/*!
@@ -229,7 +230,7 @@ bool QGeoShape::contains(const QGeoCoordinate &coordinate) const
}
/*!
- Returns a \a QGeoRectangle representing the geographical bounding rectangle of the
+ Returns a QGeoRectangle representing the geographical bounding rectangle of the
geo shape, that defines the latitudinal/longitudinal bounds of the geo shape.
\since 5.9