![]() |
Qt 6.x
The Qt SDK
|
#include <QtLocation/QPlaceContent>
Go to the source code of this file.
QList< QPlaceCategory > parseCategories | ( | const QJsonArray & | categoryArray, |
const QPlaceManagerEngineNokiaV2 * | engine | ||
) |
Definition at line 60 of file jsonparserhelpers.cpp.
References QList< T >::append(), QJsonArray::at(), QJsonArray::count(), engine, i, parseCategory(), Q_ASSERT, and QJsonValue::toObject().
QPlaceCategory parseCategory | ( | const QJsonObject & | categoryObject, |
const QPlaceManagerEngineNokiaV2 * | engine | ||
) |
Definition at line 42 of file jsonparserhelpers.cpp.
References category(), engine, QString::lastIndexOf(), QString::mid(), QUrl::path(), Q_ASSERT, QStringLiteral, toString(), and QJsonObject::value().
Referenced by parseCategories().
void parseCollection | ( | QPlaceContent::Type | type, |
const QJsonObject & | object, | ||
QPlaceContent::Collection * | collection, | ||
int * | totalCount, | ||
QPlaceContentRequest * | previous, | ||
QPlaceContentRequest * | next, | ||
const QPlaceManagerEngineNokiaV2 * | engine | ||
) |
Definition at line 176 of file jsonparserhelpers.cpp.
References QList< T >::at(), contains(), QList< T >::count(), QPlaceContent::EditorialType, engine, i, QPlaceContent::ImageType, QMap< Key, T >::insert(), items, next, QPlaceContent::NoType, parseEditorial(), parseImage(), parseReview(), Q_ASSERT, QStringLiteral, QPlaceContent::ReviewType, QPlaceContentRequest::setContentContext(), QPlaceContentRequest::setContentType(), toString(), and QList< T >::value().
QList< QPlaceContactDetail > parseContactDetails | ( | const QJsonArray & | contacts | ) |
Definition at line 73 of file jsonparserhelpers.cpp.
References QList< T >::append(), QJsonArray::at(), QJsonArray::count(), i, QStringLiteral, QJsonValue::toObject(), toString(), and QJsonObject::value().
QGeoCoordinate parseCoordinate | ( | const QJsonArray & | coordinateArray | ) |
Definition at line 23 of file jsonparserhelpers.cpp.
References QJsonArray::at(), and QJsonValue::toDouble().
Referenced by LocationSingleton::path(), and QtPositioningDeclarative_initializeModule().
QPlaceContent parseEditorial | ( | const QJsonObject & | editorialObject, |
const QPlaceManagerEngineNokiaV2 * | engine | ||
) |
Definition at line 153 of file jsonparserhelpers.cpp.
References QPlaceContent::ContentAttribution, QPlaceContent::ContentSupplier, QPlaceContent::EditorialLanguage, QPlaceContent::EditorialText, QPlaceContent::EditorialType, engine, QVariant::fromValue(), parseSupplier(), Q_ASSERT, QStringLiteral, QPlaceContent::setValue(), toString(), and QJsonObject::value().
Referenced by parseCollection().
QPlaceContent parseImage | ( | const QJsonObject & | imageObject, |
const QPlaceManagerEngineNokiaV2 * | engine | ||
) |
Definition at line 90 of file jsonparserhelpers.cpp.
References QPlaceContent::ContentAttribution, QPlaceContent::ContentSupplier, engine, QVariant::fromValue(), QPlaceContent::ImageType, QPlaceContent::ImageUrl, parseSupplier(), Q_ASSERT, QStringLiteral, toString(), and QJsonObject::value().
Referenced by parseCollection().
QPlaceContent parseReview | ( | const QJsonObject & | reviewObject, |
const QPlaceManagerEngineNokiaV2 * | engine | ||
) |
Definition at line 107 of file jsonparserhelpers.cpp.
References QJsonObject::contains(), QPlaceContent::ContentAttribution, QPlaceContent::ContentSupplier, QPlaceContent::ContentUser, engine, QVariant::fromValue(), parseSupplier(), Q_ASSERT, QStringLiteral, QPlaceContent::ReviewDateTime, QPlaceContent::ReviewLanguage, QPlaceContent::ReviewRating, QPlaceContent::ReviewText, QPlaceContent::ReviewTitle, QPlaceContent::ReviewType, QPlaceUser::setName(), QPlaceUser::setUserId(), QPlaceContent::setValue(), toDouble(), QJsonValue::toObject(), toString(), and QJsonObject::value().
Referenced by parseCollection().
QPlaceSupplier parseSupplier | ( | const QJsonObject & | supplierObject, |
const QPlaceManagerEngineNokiaV2 * | engine | ||
) |
Definition at line 28 of file jsonparserhelpers.cpp.
References engine, Q_ASSERT, QStringLiteral, QPlaceSupplier::setIcon(), QPlaceSupplier::setName(), QPlaceSupplier::setUrl(), toString(), and QJsonObject::value().
Referenced by parseEditorial(), parseImage(), and parseReview().