Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qgeocodereplyosm.cpp File Reference

(cd4db512ae08836f5fa1d746000052215cf70a9c)

#include "qgeocodereplyosm.h"
#include <QtCore/QJsonDocument>
#include <QtCore/QJsonObject>
#include <QtCore/QJsonArray>
#include <QtPositioning/QGeoCoordinate>
#include <QtPositioning/QGeoAddress>
#include <QtPositioning/QGeoLocation>
#include <QtPositioning/QGeoRectangle>
#include <QtLocation/private/qgeojson_p.h>
+ Include dependency graph for qgeocodereplyosm.cpp:

Go to the source code of this file.

Functions

static QGeoAddress parseAddressObject (const QJsonObject &object)
 
static void injectExtra (QGeoLocation &location, const QJsonObject &object)
 

Function Documentation

◆ injectExtra()

static void injectExtra ( QGeoLocation & location,
const QJsonObject & object )
static

Definition at line 67 of file qgeocodereplyosm.cpp.

References contains(), QJsonDocument::fromVariant(), QGeoJson::importGeoJson(), QStringLiteral, and QMap< Key, T >::value().

+ Here is the call graph for this function:

◆ parseAddressObject()

static QGeoAddress parseAddressObject ( const QJsonObject & object)
static

Definition at line 38 of file qgeocodereplyosm.cpp.

References QStringLiteral, QGeoAddress::setText(), QJsonValue::toObject(), toString(), and QJsonObject::value().

+ Here is the call graph for this function: