6#include <QtCore/QJsonArray>
7#include <QtPositioning/QGeoAddress>
8#include <QtPositioning/QGeoCoordinate>
9#include <QtPositioning/QGeoRectangle>
17 categoryName[0] = categoryName[0].
toUpper();
35 if (!
value.isString())
49 if (!addressString.isEmpty())
50 streetAddress = addressString;
53 address.setStreet(streetAddress);
57 if (!
value.isObject())
64 if (valueId.isEmpty() || valueText.isEmpty())
72 address.setCountryCode(countryCode);
76 address.setPostalCode(valueText);
95 double left = bbox.at(0).toDouble();
96 double bottom = bbox.at(1).toDouble();
97 double right = bbox.at(2).toDouble();
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
QJsonValue value(const QString &key) const
Returns a QJsonValue representing the value for the key key.
QJsonArray toArray() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
double toDouble(double defaultValue=0) const
Converts the value to a double and returns it.
bool isArray() const
Returns true if the value contains an array.
QString toString() const
Converts the value to a QString and returns it.
bool isObject() const
Returns true if the value contains an object.
static QString mapboxNameForCategory(const QString &category)
static QGeoLocation parseGeoLocation(const QJsonObject &response)
\macro QT_RESTRICTED_CAST_FROM_ASCII
bool isEmpty() const noexcept
Returns true if the string has no characters; otherwise returns false.
QString & prepend(QChar c)
QString toUpper() const &
const QLoggingCategory & category()
[1]
static const QCssKnownValue properties[NumProperties - 1]
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLdouble GLdouble GLdouble GLdouble top
GLuint GLuint64EXT address
#define QStringLiteral(str)
char * toString(const MyType &t)
[31]
\inmodule QtCore \reentrant