summaryrefslogtreecommitdiff
path: root/src/positioning
diff options
context:
space:
mode:
Diffstat (limited to 'src/positioning')
-rw-r--r--src/positioning/doc/qtpositioning.qdocconf2
-rw-r--r--src/positioning/qgeolocation.cpp3
-rw-r--r--src/positioning/qgeopolygon.cpp17
3 files changed, 14 insertions, 8 deletions
diff --git a/src/positioning/doc/qtpositioning.qdocconf b/src/positioning/doc/qtpositioning.qdocconf
index 41a06c49..968f9b31 100644
--- a/src/positioning/doc/qtpositioning.qdocconf
+++ b/src/positioning/doc/qtpositioning.qdocconf
@@ -33,7 +33,7 @@ qhp.QtPositioning.subprojects.examples.selectors = fake:example
tagfile = ../../../doc/qtpositioning/qtpositioning.tags
-depends += qtcore qtdoc qtquick qtqml qtnetwork qtlocation
+depends += qtcore qtdoc qtquick qtqml qtnetwork qtlocation qtxmlpatterns
headerdirs += .. \
../../imports/positioning \
diff --git a/src/positioning/qgeolocation.cpp b/src/positioning/qgeolocation.cpp
index dd34112f..7d826e84 100644
--- a/src/positioning/qgeolocation.cpp
+++ b/src/positioning/qgeolocation.cpp
@@ -206,7 +206,8 @@ QVariantMap QGeoLocation::extendedAttributes() const
}
/*!
- Sets the extended attributes of the location.
+ Sets the extended attributes of the location with the
+ parameters specified in \a data.
\since 5.13
*/
diff --git a/src/positioning/qgeopolygon.cpp b/src/positioning/qgeopolygon.cpp
index 4e902be5..04e09095 100644
--- a/src/positioning/qgeopolygon.cpp
+++ b/src/positioning/qgeopolygon.cpp
@@ -117,7 +117,8 @@ QGeoPolygon::QGeoPolygon()
}
/*!
- Constructs a new geo \a polygon from a list of coordinates.
+ Constructs a new geo \a polygon from the coordinates specified
+ in \a path.
*/
QGeoPolygon::QGeoPolygon(const QList<QGeoCoordinate> &path)
: QGeoShape(new QGeoPolygonPrivate(path))
@@ -178,7 +179,7 @@ bool QGeoPolygon::operator!=(const QGeoPolygon &other) const
}
/*!
- Sets the \a polygon's boundary from a list of coordinates.
+ Sets the \a path for the polygon.
*/
void QGeoPolygon::setPath(const QList<QGeoCoordinate> &path)
{
@@ -196,7 +197,9 @@ const QList<QGeoCoordinate> &QGeoPolygon::path() const
}
/*!
- Sets all the elements of the polygon's perimeter.
+ Sets all the elements of the polygon's perimeter
+ based on a list of coordinates (\a path).
+.
\since QtPositioning 5.12
*/
@@ -355,7 +358,8 @@ QString QGeoPolygon::toString() const
}
/*!
- Sets the \a path for a hole inside the polygon. The hole is a QVariant containing a QList<QGeoCoordinate>.
+ Sets the \a holePath for a hole inside the polygon. The hole is a
+ QVariant containing a QList<QGeoCoordinate>.
\since 5.12
*/
@@ -375,7 +379,7 @@ void QGeoPolygon::addHole(const QVariant &holePath)
}
/*!
- Overloaded method. Sets the \a path for a hole inside the polygon. The hole is a QList<QGeoCoordinate>.
+ Overloaded method. Sets the \a holePath for a hole inside the polygon. The hole is a QList<QGeoCoordinate>.
\since 5.12
*/
@@ -386,7 +390,8 @@ void QGeoPolygon::addHole(const QList<QGeoCoordinate> &holePath)
}
/*!
- Returns a QVariant containing a QVariant containing a QList<QGeoCoordinate> which represents the hole at index.
+ Returns a QVariant containing a QVariant containing a QList<QGeoCoordinate>
+ which represents the hole at \a index.
\since 5.12
*/