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
QMapboxCommon Class Reference

#include <qmapboxcommon.h>

+ Collaboration diagram for QMapboxCommon:

Static Public Member Functions

static QString mapboxNameForCategory (const QString &category)
 
static QGeoLocation parseGeoLocation (const QJsonObject &response)
 

Detailed Description

Definition at line 26 of file qmapboxcommon.h.

Member Function Documentation

◆ mapboxNameForCategory()

QString QMapboxCommon::mapboxNameForCategory ( const QString & category)
static

Definition at line 11 of file qmapboxcommon.cpp.

References category(), and QString::toUpper().

Referenced by QPlaceManagerEngineMapbox::initializeCategories(), and QT_BEGIN_NAMESPACE::parsePlaceResult().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parseGeoLocation()

QGeoLocation QMapboxCommon::parseGeoLocation ( const QJsonObject & response)
static

Definition at line 22 of file qmapboxcommon.cpp.

References QJsonValue::isArray(), QString::isEmpty(), QJsonValue::isObject(), QString::prepend(), properties, QStringLiteral, QJsonValue::toArray(), QJsonValue::toDouble(), QJsonValue::toString(), toString(), and QJsonObject::value().

Referenced by QT_BEGIN_NAMESPACE::parsePlaceResult().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: