Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
9QT_BEGIN_NAMESPACE
10
11class QJsonArray;
12class QJsonObject;
13class QGeoCoordinate;
14class QPlaceContactDetail;
15class QPlaceImage;
16class QPlaceReview;
17class QPlaceEditorial;
18class QPlaceCategory;
19class QPlaceContentRequest;
21
22QGeoCoordinate parseCoordinate(const QJsonArray &coordinateArray);
23QPlaceSupplier parseSupplier(const QJsonObject &supplierObject,
24 const QPlaceManagerEngineNokiaV2 *engine);
25QPlaceCategory parseCategory(const QJsonObject &categoryObject,
26 const QPlaceManagerEngineNokiaV2 *engine);
27QList<QPlaceCategory> parseCategories(const QJsonArray &categoryArray,
28 const QPlaceManagerEngineNokiaV2 *engine);
29QList<QPlaceContactDetail> parseContactDetails(const QJsonArray &contacts);
30
31QPlaceContent parseImage(const QJsonObject &imageObject,
32 const QPlaceManagerEngineNokiaV2 *engine);
33QPlaceContent parseReview(const QJsonObject &reviewObject,
34 const QPlaceManagerEngineNokiaV2 *engine);
35QPlaceContent parseEditorial(const QJsonObject &editorialObject,
36 const QPlaceManagerEngineNokiaV2 *engine);
37
38void parseCollection(QPlaceContent::Type type, const QJsonObject &object,
39 QPlaceContent::Collection *collection, int *totalCount,
40 QPlaceContentRequest *previous, QPlaceContentRequest *next,
41 const QPlaceManagerEngineNokiaV2 *engine);
42
43QT_END_NAMESPACE
44
45#endif // JSONPARSERHELPERS_H
QList< QPlaceContactDetail > parseContactDetails(const QJsonArray &contacts)
QList< QPlaceCategory > parseCategories(const QJsonArray &categoryArray, const QPlaceManagerEngineNokiaV2 *engine)
QT_BEGIN_NAMESPACE QGeoCoordinate parseCoordinate(const QJsonArray &coordinateArray)
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)
QPlaceContent parseImage(const QJsonObject &imageObject, const QPlaceManagerEngineNokiaV2 *engine)
QPlaceContent parseEditorial(const QJsonObject &editorialObject, const QPlaceManagerEngineNokiaV2 *engine)