70 void parse(
const QByteArray &data);
78 bool parseRootElement();
79 bool parseRoute(QGeoRoute *route);
81 bool parseCoordinates(QGeoCoordinate &coord);
82 bool parseMode(QGeoRoute *route);
83 bool parseSummary(QGeoRoute *route);
84 bool parseGeoPoints(
const QString &strPoints, QList<QGeoCoordinate> *geoPoints,
const QString &elementName);
85 bool parseLeg(
int legIndex);
86 bool parseManeuver(QList<QGeoManeuverContainer> &maneuvers);
87 bool parseLink(QList<QGeoRouteSegmentContainer> &links);
88 bool postProcessRoute(QGeoRoute *route);
90 bool parseBoundingBox(QGeoRectangle &bounds);
93 QGeoRouteRequest m_request;
95 QXmlStreamReader *m_reader;
97 QList<QGeoRoute> m_results;
98 QList<QGeoRoute> m_legs;
99 QList<QList<QGeoManeuverContainer>> m_maneuvers;