summaryrefslogtreecommitdiff
path: root/src/location/labs/qgeojson.cpp
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@qt.io>2019-11-21 11:31:00 +0100
committerFrederik Gladhorn <frederik.gladhorn@qt.io>2019-11-21 11:31:00 +0100
commitb2c5fcd3a0a878a39c5e861098e94f29c1ef6b2f (patch)
treecf23b09f65624203d809aae7e909f25cb4a061c7 /src/location/labs/qgeojson.cpp
parenta425dd954b4319455fc29372ff2314e7dc81ee77 (diff)
parentcd7edab940934fe8b100172e3e62e7eea5c354e5 (diff)
downloadqtlocation-b2c5fcd3a0a878a39c5e861098e94f29c1ef6b2f.tar.gz
Merge 5.14 into 5.14.0
Change-Id: Id2e7b0a3d3ecefdee377094fa10a1bea4a71d06c
Diffstat (limited to 'src/location/labs/qgeojson.cpp')
-rw-r--r--src/location/labs/qgeojson.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/location/labs/qgeojson.cpp b/src/location/labs/qgeojson.cpp
index f7f37661..151091ca 100644
--- a/src/location/labs/qgeojson.cpp
+++ b/src/location/labs/qgeojson.cpp
@@ -65,7 +65,7 @@ QT_BEGIN_NAMESPACE
\section2 Importing GeoJSON
- The method \l importGeoJson accepts a \l
+ The importGeoJson() method accepts a \l
{http://doc.qt.io/qt-5/qjsondocument.html} {QJsonDocument} from which it
extracts a single \l {https://tools.ietf.org/html/rfc7159} {JSON} object,
since the GeoJSON RFC expects that a valid GeoJSON Document has in its root
@@ -503,9 +503,9 @@ QT_BEGIN_NAMESPACE
\section2 Exporting GeoJSON
- The exporter accepts the QVariantList returned by \l {The importer}, and
- returns a JSON document. The exporter is complementary to the importer
- because it executes the inverse action.
+ The exporter accepts the QVariantList returned by the \l {Importing GeoJSON}
+ {importer}, and returns a JSON document. The exporter is complementary to
+ the importer because it executes the inverse action.
\section2 The toString function
@@ -1231,9 +1231,9 @@ QString printQvariant(const QVariant v, int tabs = 0) {
}
/*!
-This method accepts the QVariantLists structured like described in section \l
-{Importing GeoJSON}, and returns a string containing the same data in a
-readable form.
+ This method accepts the QVariantList \a geoData, structured as described in
+ \l {Importing GeoJSON}, and returns a string containing the same data in a
+ readable form.
*/
QString QGeoJson::toString(const QVariantList &geoData) {
return printQvariant(geoData.first(), 0);