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
jsonparserhelpers.h
Go to the documentation of this file.
1// Copyright (C) 2015 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef JSONPARSERHELPERS_H
5#define JSONPARSERHELPERS_H
6
7#include <QtLocation/QPlaceContent>
8
10
11class QJsonArray;
12class QJsonObject;
13class QGeoCoordinate;
15class QPlaceImage;
16class QPlaceReview;
17class QPlaceEditorial;
18class QPlaceCategory;
21
22QGeoCoordinate parseCoordinate(const QJsonArray &coordinateArray);
23QPlaceSupplier parseSupplier(const QJsonObject &supplierObject,
25QPlaceCategory parseCategory(const QJsonObject &categoryObject,
27QList<QPlaceCategory> parseCategories(const QJsonArray &categoryArray,
29QList<QPlaceContactDetail> parseContactDetails(const QJsonArray &contacts);
30
31QPlaceContent parseImage(const QJsonObject &imageObject,
33QPlaceContent parseReview(const QJsonObject &reviewObject,
35QPlaceContent parseEditorial(const QJsonObject &editorialObject,
37
39 QPlaceContent::Collection *collection, int *totalCount,
42
44
45#endif // JSONPARSERHELPERS_H
\inmodule QtPositioning
\inmodule QtCore\reentrant
Definition qjsonarray.h:18
\inmodule QtCore\reentrant
Definition qjsonobject.h:20
\inmodule QtLocation
The QPlaceContactDetail class represents a contact detail such as a phone number or website url.
\inmodule QtLocation
\inmodule QtLocation
Type
Defines the type of content.
\inmodule QtLocation
QList< QPlaceContactDetail > parseContactDetails(const QJsonArray &contacts)
QList< QPlaceCategory > parseCategories(const QJsonArray &categoryArray, const QPlaceManagerEngineNokiaV2 *engine)
QPlaceSupplier parseSupplier(const QJsonObject &supplierObject, const QPlaceManagerEngineNokiaV2 *engine)
QPlaceContent parseReview(const QJsonObject &reviewObject, const QPlaceManagerEngineNokiaV2 *engine)
QPlaceCategory parseCategory(const QJsonObject &categoryObject, const QPlaceManagerEngineNokiaV2 *engine)
void parseCollection(QPlaceContent::Type type, const QJsonObject &object, QPlaceContent::Collection *collection, int *totalCount, QPlaceContentRequest *previous, QPlaceContentRequest *next, const QPlaceManagerEngineNokiaV2 *engine)
QGeoCoordinate parseCoordinate(const QJsonArray &coordinateArray)
QPlaceContent parseImage(const QJsonObject &imageObject, const QPlaceManagerEngineNokiaV2 *engine)
QPlaceContent parseEditorial(const QJsonObject &editorialObject, const QPlaceManagerEngineNokiaV2 *engine)
short next
Definition keywords.cpp:445
Combined button and popup list for selecting options.
GLenum type
QJSEngine engine
[0]