![]() |
Qt 6.x
The Qt SDK
|
Inheritance diagram for QGeoRouteParserOsrmV5ExtensionMapbox:
Collaboration diagram for QGeoRouteParserOsrmV5ExtensionMapbox:Public Member Functions | |
| QGeoRouteParserOsrmV5ExtensionMapbox (const QString &accessToken, bool useMapboxTextInstructions) | |
| void | updateQuery (QUrlQuery &query) const override |
| void | updateSegment (QGeoRouteSegment &segment, const QJsonObject &step, const QJsonObject &maneuver) const override |
Public Member Functions inherited from QGeoRouteParserOsrmV5Extension | |
| QGeoRouteParserOsrmV5Extension () | |
| virtual | ~QGeoRouteParserOsrmV5Extension () |
| virtual void | updateQuery (QUrlQuery &query) const =0 |
| virtual void | updateSegment (QGeoRouteSegment &segment, const QJsonObject &step, const QJsonObject &maneuver) const =0 |
Public Attributes | |
| QString | m_accessToken |
| bool | m_useMapboxTextInstructions = false |
Definition at line 20 of file qgeoroutingmanagerenginemapbox.cpp.
| QGeoRouteParserOsrmV5ExtensionMapbox::QGeoRouteParserOsrmV5ExtensionMapbox | ( | const QString & | accessToken, |
| bool | useMapboxTextInstructions | ||
| ) |
Definition at line 31 of file qgeoroutingmanagerenginemapbox.cpp.
Implements QGeoRouteParserOsrmV5Extension.
Definition at line 37 of file qgeoroutingmanagerenginemapbox.cpp.
References QString::isEmpty(), m_accessToken, QLocale::measurementSystem(), QLocale::MetricSystem, and QLocale::system().
Here is the call graph for this function:
|
overridevirtual |
Implements QGeoRouteParserOsrmV5Extension.
Definition at line 161 of file qgeoroutingmanagerenginemapbox.cpp.
References QMap< Key, T >::insert(), QString::isEmpty(), m_useMapboxTextInstructions, parseMapboxBannerInstructions(), parseMapboxVoiceInstructions(), QJsonValue::toString(), and QJsonObject::value().
Here is the call graph for this function:| QString QGeoRouteParserOsrmV5ExtensionMapbox::m_accessToken |
Definition at line 27 of file qgeoroutingmanagerenginemapbox.cpp.
Referenced by updateQuery().
| bool QGeoRouteParserOsrmV5ExtensionMapbox::m_useMapboxTextInstructions = false |
Definition at line 28 of file qgeoroutingmanagerenginemapbox.cpp.
Referenced by updateSegment().