Home
last modified time | relevance | path

Searched refs:QJsonObject (Results 1 – 25 of 54) sorted by relevance

123

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/nokia/
H A Dqgeocodejsonparser.cpp110 bool checkLocation(const QJsonObject &loc, QString *errorString) in checkLocation()
112 QJsonObject::const_iterator ait = loc.constFind(QLatin1String("Address")); in checkLocation()
121 QJsonObject::const_iterator dpit = loc.constFind(QLatin1String("DisplayPosition")); in checkLocation()
129 QJsonObject displayPosition = dpit.value().toObject(); in checkLocation()
130 QJsonObject::const_iterator latit = displayPosition.constFind(QLatin1String("Latitude")); in checkLocation()
138 QJsonObject::const_iterator lonit = displayPosition.constFind(QLatin1String("Longitude")); in checkLocation()
147 QJsonObject::const_iterator mvit = loc.constFind(QLatin1String("MapView")); in checkLocation()
155 QJsonObject mapView = mvit.value().toObject(); in checkLocation()
156 QJsonObject::const_iterator brit = mapView.constFind(QLatin1String("BottomRight")); in checkLocation()
164 QJsonObject bottomRight = brit.value().toObject(); in checkLocation()
[all …]
H A Dqgeomapversion.h50 bool isNewVersion(const QJsonObject &newVersionData);
53 void setVersionData(const QJsonObject &versionData);
58 QJsonObject m_versionData;
H A Dqgeomapversion.cpp46 bool QGeoMapVersion::isNewVersion(const QJsonObject &newVersionData) in isNewVersion()
61 void QGeoMapVersion::setVersionData(const QJsonObject &versionData) in setVersionData()
70 QJsonObject object; in toJson()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/
H A Dqgeopositioninfosource.cpp146 QMultiHash<QString, QJsonObject> QGeoPositionInfoSourcePrivate::plugins(bool reload) in plugins()
148 static QMultiHash<QString, QJsonObject> plugins; in plugins()
161 static bool pluginComparator(const QJsonObject &p1, const QJsonObject &p2) in pluginComparator()
175 QList<QJsonObject> QGeoPositionInfoSourcePrivate::pluginsSorted() in pluginsSorted()
177 QList<QJsonObject> list = plugins().values(); in pluginsSorted()
182 void QGeoPositionInfoSourcePrivate::loadPluginMetadata(QMultiHash<QString, QJsonObject> &plugins) in loadPluginMetadata()
185 QList<QJsonObject> meta = l->metaData(); in loadPluginMetadata()
187 QJsonObject obj = meta.at(i).value(QStringLiteral("MetaData")).toObject(); in loadPluginMetadata()
331 static QGeoPositionInfoSource* createSource_real(const QJsonObject &meta, const QVariantMap &parame… in createSource_real()
374 QList<QJsonObject> plugins = QGeoPositionInfoSourcePrivate::pluginsSorted(); in createDefaultSource()
[all …]
H A Dqgeopositioninfosource_p.h72 QJsonObject metaData;
82 static QMultiHash<QString, QJsonObject> plugins(bool reload = false);
83 static void loadPluginMetadata(QMultiHash<QString, QJsonObject> &list);
84 static QList<QJsonObject> pluginsSorted();
H A Dqgeosatelliteinfosource.cpp168 static QGeoSatelliteInfoSource* createSource_real(const QJsonObject &meta, const QVariantMap &param… in createSource_real()
222 QList<QJsonObject> plugins = QGeoPositionInfoSourcePrivate::pluginsSorted(); in createDefaultSource()
223 foreach (const QJsonObject &obj, plugins) { in createDefaultSource()
252 QHash<QString, QJsonObject> plugins = QGeoPositionInfoSourcePrivate::plugins(); in createSource()
265 const QHash<QString, QJsonObject> meta = QGeoPositionInfoSourcePrivate::plugins(); in availableSources()
H A Dqgeoareamonitorsource.cpp148 QList<QJsonObject> plugins = QGeoPositionInfoSourcePrivate::pluginsSorted(); in createDefaultSource()
149 foreach (const QJsonObject &obj, plugins) { in createDefaultSource()
176 QHash<QString, QJsonObject> plugins = QGeoPositionInfoSourcePrivate::plugins(); in createSource()
199 const QHash<QString, QJsonObject> meta = QGeoPositionInfoSourcePrivate::plugins(); in availableSources()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/nokia/placesv2/
H A Djsonparserhelpers.h45 class QJsonObject; variable
56 QPlaceSupplier parseSupplier(const QJsonObject &supplierObject,
58 QPlaceCategory parseCategory(const QJsonObject &categoryObject,
64 QPlaceImage parseImage(const QJsonObject &imageObject,
66 QPlaceReview parseReview(const QJsonObject &reviewObject,
68 QPlaceEditorial parseEditorial(const QJsonObject &editorialObject,
71 void parseCollection(QPlaceContent::Type type, const QJsonObject &object,
H A Djsonparserhelpers.cpp60 QPlaceSupplier parseSupplier(const QJsonObject &supplierObject, in parseSupplier()
74 QPlaceCategory parseCategory(const QJsonObject &categoryObject, in parseCategory()
110 QJsonObject contact = contacts.at(i).toObject(); in parseContactDetails()
122 QPlaceImage parseImage(const QJsonObject &imageObject, in parseImage()
137 QPlaceReview parseReview(const QJsonObject &reviewObject, in parseReview()
154 QJsonObject userObject = reviewObject.value(QStringLiteral("user")).toObject(); in parseReview()
175 QPlaceEditorial parseEditorial(const QJsonObject &editorialObject, in parseEditorial()
196 void parseCollection(QPlaceContent::Type type, const QJsonObject &object, in parseCollection()
223 QJsonObject itemObject = items.at(i).toObject(); in parseCollection()
H A Dqplacedetailsreplyimpl.cpp130 QJsonObject object = document.object(); in replyFinished()
149 QJsonObject locationObject = object.value(QLatin1String("location")).toObject(); in replyFinished()
159 QJsonObject addressObject = locationObject.value(QLatin1String("address")).toObject(); in replyFinished()
213 QJsonObject contactsObject = object.value(QLatin1String("contacts")).toObject(); in replyFinished()
245 QJsonObject ratingsObject = object.value(QLatin1String("ratings")).toObject(); in replyFinished()
256 QJsonObject extendedObject = object.value(QLatin1String("extended")).toObject(); in replyFinished()
259 QJsonObject attributeObject = it.value().toObject(); in replyFinished()
277 QJsonObject mediaObject = object.value(QLatin1String("media")).toObject(); in replyFinished()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/esri/
H A Dgeocodereply_esri.cpp93 QJsonObject object = document.object(); in networkReplyFinished()
106 QJsonObject candidate = candidates.at(i).toObject(); in networkReplyFinished()
135 QGeoLocation GeoCodeReplyEsri::parseAddress(const QJsonObject& object) in parseAddress()
137 QJsonObject addressObject = object.value(QStringLiteral("address")).toObject(); in parseAddress()
150 QJsonObject locationObject = object.value(QStringLiteral("location")).toObject(); in parseAddress()
163 QGeoLocation GeoCodeReplyEsri::parseCandidate(const QJsonObject& candidate) in parseCandidate()
167 QJsonObject locationObject = candidate.value(QStringLiteral("location")).toObject(); in parseCandidate()
175 QJsonObject extentObject = candidate.value(QStringLiteral("extent")).toObject(); in parseCandidate()
184 QJsonObject attributesObject = candidate.value(QStringLiteral("attributes")).toObject(); in parseCandidate()
H A Dgeoroutejsonparser_esri.cpp98 QJsonObject error = m_json.value(kErrorKey).toObject(); in GeoRouteJsonParserEsri()
132 void GeoRouteJsonParserEsri::parseDirection(const QJsonObject &direction) in parseDirection()
139 QJsonObject summary = direction.value(kDirectionsSummaryKey).toObject(); in parseDirection()
148 QJsonObject enveloppe = summary.value(kDirectionsEnvelopeKey).toObject(); in parseDirection()
187 QJsonObject feature = features.at(i).toObject(); in parseDirection()
188 QJsonObject attributes = feature.value(kDirectionsFeaturesAttributesKey).toObject(); in parseDirection()
216 QJsonObject routes = m_json.value(kRoutesKey).toObject(); in parseRoutes()
222 void GeoRouteJsonParserEsri::parseRoute(const QJsonObject &route) in parseRoute()
224 QJsonObject attributes = route.value(kRoutesFeaturesAttributesKey).toObject(); in parseRoute()
227 QJsonObject geometry = route.value(kRoutesFeaturesGeometryKey).toObject(); in parseRoute()
H A Dgeoroutejsonparser_esri.h61 void parseDirection(const QJsonObject &direction);
63 void parseRoute(const QJsonObject &route);
67 QJsonObject m_json;
H A Dplacesearchreply_esri.cpp134 QJsonObject item = resultsArray.at(i).toObject(); in replyFinished()
152 QPlaceResult PlaceSearchReplyEsri::parsePlaceResult(const QJsonObject &item) const in parsePlaceResult()
158 const QJsonObject attributes = item.value(kAttributesKey).toObject(); in parsePlaceResult()
191 const QJsonObject location = item.value(kLocationKey).toObject(); in parsePlaceResult()
196 const QJsonObject extent = item.value(kExtentKey).toObject(); in parsePlaceResult()
H A Dplacemanagerengine_esri.cpp196 const QJsonObject jsonCategory = jsonValue.toObject(); in parseCategories()
268 QString PlaceManagerEngineEsri::localizedName(const QJsonObject &jsonObject) in localizedName()
270 const QJsonObject localizedNames = jsonObject.value(kLocalizedNamesKey).toObject(); in localizedName()
296 const QJsonObject jsonCandidateField = jsonValue.toObject(); in parseCandidateFields()
312 const QJsonObject jsonCountry = jsonValue.toObject(); in parseCountries()
333 QJsonObject jsonObject = document.object(); in geocodeServerReplyFinished()
H A Dgeocodereply_esri.h69 QGeoLocation parseAddress(const QJsonObject &object);
70 QGeoLocation parseCandidate(const QJsonObject &candidate);
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/labs/
H A Dqgeojson.cpp794 static QJsonObject exportPoint(const QVariantMap &pointMap) in exportPoint()
796 QJsonObject parsedPoint; in exportPoint()
803 static QJsonObject exportLineString(const QVariantMap &lineStringMap) in exportLineString()
805 QJsonObject parsedLineString; in exportLineString()
812 static QJsonObject exportPolygon(const QVariantMap &polygonMap) in exportPolygon()
815 QJsonObject parsedPolygon; in exportPolygon()
830 static QJsonObject exportMultiPoint(const QVariantMap &multiPointMap) in exportMultiPoint()
832 QJsonObject parsedMultiPoint; in exportMultiPoint()
844 static QJsonObject exportMultiLineString(const QVariantMap &multiLineStringMap) in exportMultiLineString()
846 QJsonObject parsedMultiLineString; in exportMultiLineString()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/mapbox/
H A Dqgeoroutingmanagerenginemapbox.cpp61 …void updateSegment(QGeoRouteSegment &segment, const QJsonObject &step, const QJsonObject &maneuver…
88 static QVariantMap parseMapboxVoiceInstruction(const QJsonObject &voiceInstruction) in parseMapboxVoiceInstruction()
114 static QVariantMap parseMapboxBannerComponent(const QJsonObject &bannerComponent) in parseMapboxBannerComponent()
143 static QVariantMap parseMapboxBanner(const QJsonObject &banner) in parseMapboxBanner()
168 static QVariantMap parseMapboxBannerInstruction(const QJsonObject &bannerInstruction) in parseMapboxBannerInstruction()
197 …ionMapbox::updateSegment(QGeoRouteSegment &segment, const QJsonObject &step, const QJsonObject &ma… in updateSegment()
H A Dqmapboxcommon.cpp58 QGeoLocation QMapboxCommon::parseGeoLocation(const QJsonObject &response) in parseGeoLocation()
81 const QJsonObject properties = response.value(QStringLiteral("properties")).toObject(); in parseGeoLocation()
96 const QJsonObject object = value.toObject(); in parseGeoLocation()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqgeoserviceprovider.cpp802 metaData = QJsonObject(); in unload()
830 metaData = QJsonObject(); in loadMeta()
835 QList<QJsonObject> candidates = QGeoServiceProviderPrivate::plugins().values(providerName); in loadMeta()
843 QJsonObject meta = candidates[i]; in loadMeta()
899 QMultiHash<QString, QJsonObject> QGeoServiceProviderPrivate::plugins(bool reload) in plugins()
901 static QMultiHash<QString, QJsonObject> plugins; in plugins()
914 void QGeoServiceProviderPrivate::loadPluginMetadata(QMultiHash<QString, QJsonObject> &list) in loadPluginMetadata()
917 QList<QJsonObject> meta = l->metaData(); in loadPluginMetadata()
919 QJsonObject obj = meta.at(i).value(QStringLiteral("MetaData")).toObject(); in loadPluginMetadata()
H A Dqgeoserviceprovider_p.h90 QJsonObject metaData;
124 static QMultiHash<QString, QJsonObject> plugins(bool reload = false);
125 static void loadPluginMetadata(QMultiHash<QString, QJsonObject> &list);
H A Dqgeorouteparserosrmv5.cpp236 static QString instructionDepart(const QJsonObject &maneuver, const QString &wayName) in instructionDepart()
531 static QString instructionRotary(const QJsonObject &step, const QJsonObject &maneuver, const QStrin… in instructionRotary()
546 static QString instructionRoundabout(const QJsonObject &maneuver, const QString &wayName) in instructionRoundabout()
649 static QString instructionUseLane(const QJsonObject &maneuver, const QString &wayName, QGeoManeuver… in instructionUseLane()
720 static QString instructionText(const QJsonObject &step, const QJsonObject &maneuver, QGeoManeuver::… in instructionText()
772 static QGeoManeuver::InstructionDirection instructionDirection(const QJsonObject &maneuver, QGeoRou… in instructionDirection()
813 QGeoRouteSegment parseStep(const QJsonObject &step, int legIndex, int stepIndex) const;
834 QGeoRouteSegment QGeoRouteParserOsrmV5Private::parseStep(const QJsonObject &step, int legIndex, int… in parseStep()
841 QJsonObject maneuver = step.value(QLatin1String("maneuver")).toObject(); in parseStep()
909 QJsonObject object = document.object(); in parseReply()
[all …]
H A Dqgeorouteparserosrmv5_p.h70 …rtual void updateSegment(QGeoRouteSegment &segment, const QJsonObject &step, const QJsonObject &ma…
/OK3568_Linux_fs/app/forlinx/flapp/src/libs/core/
H A Dplughandler.cpp43 QJsonObject json = loader.metaData(); in getShowPlugins()
44 QJsonObject object =json.value("MetaData").toObject(); in getShowPlugins()
73 QJsonObject json = loader->metaData(); in loadPlugins()
74 QJsonObject object =json.value("MetaData").toObject(); in loadPlugins()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/osm/
H A Dqgeocodereplyosm.cpp73 static QGeoAddress parseAddressObject(const QJsonObject &object) in parseAddressObject()
77 QJsonObject ao = object.value(QStringLiteral("address")).toObject(); in parseAddressObject()
102 static void injectExtra(QGeoLocation &location, const QJsonObject &object) in injectExtra()
139 QJsonObject object = document.object(); in networkReplyFinished()
162 QJsonObject object = results.at(i).toObject(); in networkReplyFinished()

123