![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qgeoroutesegment_p.h>
Public Member Functions | |
QGeoRouteSegmentPrivate () | |
bool | valid () const |
void | setValid (bool valid) |
bool | isLegLastSegment () const |
void | setLegLastSegment (bool lastSegment) |
int | travelTime () const |
void | setTravelTime (int travelTime) |
qreal | distance () const |
void | setDistance (qreal distance) |
QList< QGeoCoordinate > | path () const |
void | setPath (const QList< QGeoCoordinate > &path) |
QGeoManeuver | maneuver () const |
void | setManeuver (const QGeoManeuver &maneuver) |
QExplicitlySharedDataPointer< QGeoRouteSegmentPrivate > | nextRouteSegment () const |
void | setNextRouteSegment (const QExplicitlySharedDataPointer< QGeoRouteSegmentPrivate > &next) |
![]() | |
QSharedData () noexcept | |
Constructs a QSharedData object with a reference count of 0. | |
QSharedData (const QSharedData &) noexcept | |
Constructs a QSharedData object with reference count 0. | |
QSharedData & | operator= (const QSharedData &)=delete |
~QSharedData ()=default | |
Static Public Member Functions | |
static QGeoRouteSegmentPrivate * | get (QGeoRouteSegment &segment) |
Public Attributes | |
QExplicitlySharedDataPointer< QGeoRouteSegmentPrivate > | m_nextSegment |
bool | m_valid = false |
bool | m_legLastSegment = false |
int | m_travelTime = 0 |
qreal | m_distance = 0.0 |
QList< QGeoCoordinate > | m_path |
QGeoManeuver | m_maneuver |
![]() | |
QAtomicInt | ref |
Friends | |
bool | operator== (const QGeoRouteSegmentPrivate &lhs, const QGeoRouteSegmentPrivate &rhs) |
Definition at line 31 of file qgeoroutesegment_p.h.
|
default |
qreal QGeoRouteSegmentPrivate::distance | ( | ) | const |
Definition at line 320 of file qgeoroutesegment.cpp.
|
static |
Definition at line 360 of file qgeoroutesegment.cpp.
bool QGeoRouteSegmentPrivate::isLegLastSegment | ( | ) | const |
Definition at line 300 of file qgeoroutesegment.cpp.
QGeoManeuver QGeoRouteSegmentPrivate::maneuver | ( | ) | const |
Definition at line 340 of file qgeoroutesegment.cpp.
QExplicitlySharedDataPointer< QGeoRouteSegmentPrivate > QGeoRouteSegmentPrivate::nextRouteSegment | ( | ) | const |
Definition at line 350 of file qgeoroutesegment.cpp.
QList< QGeoCoordinate > QGeoRouteSegmentPrivate::path | ( | ) | const |
Definition at line 330 of file qgeoroutesegment.cpp.
Definition at line 325 of file qgeoroutesegment.cpp.
void QGeoRouteSegmentPrivate::setLegLastSegment | ( | bool | lastSegment | ) |
Definition at line 305 of file qgeoroutesegment.cpp.
void QGeoRouteSegmentPrivate::setManeuver | ( | const QGeoManeuver & | maneuver | ) |
Definition at line 345 of file qgeoroutesegment.cpp.
void QGeoRouteSegmentPrivate::setNextRouteSegment | ( | const QExplicitlySharedDataPointer< QGeoRouteSegmentPrivate > & | next | ) |
Definition at line 355 of file qgeoroutesegment.cpp.
void QGeoRouteSegmentPrivate::setPath | ( | const QList< QGeoCoordinate > & | path | ) |
Definition at line 335 of file qgeoroutesegment.cpp.
void QGeoRouteSegmentPrivate::setTravelTime | ( | int | travelTime | ) |
Definition at line 315 of file qgeoroutesegment.cpp.
void QGeoRouteSegmentPrivate::setValid | ( | bool | valid | ) |
Definition at line 295 of file qgeoroutesegment.cpp.
int QGeoRouteSegmentPrivate::travelTime | ( | ) | const |
Definition at line 310 of file qgeoroutesegment.cpp.
bool QGeoRouteSegmentPrivate::valid | ( | ) | const |
Definition at line 290 of file qgeoroutesegment.cpp.
|
friend |
Definition at line 281 of file qgeoroutesegment.cpp.
qreal QGeoRouteSegmentPrivate::m_distance = 0.0 |
Definition at line 62 of file qgeoroutesegment_p.h.
bool QGeoRouteSegmentPrivate::m_legLastSegment = false |
Definition at line 60 of file qgeoroutesegment_p.h.
QGeoManeuver QGeoRouteSegmentPrivate::m_maneuver |
Definition at line 64 of file qgeoroutesegment_p.h.
QExplicitlySharedDataPointer<QGeoRouteSegmentPrivate> QGeoRouteSegmentPrivate::m_nextSegment |
Definition at line 58 of file qgeoroutesegment_p.h.
QList<QGeoCoordinate> QGeoRouteSegmentPrivate::m_path |
Definition at line 63 of file qgeoroutesegment_p.h.
int QGeoRouteSegmentPrivate::m_travelTime = 0 |
Definition at line 61 of file qgeoroutesegment_p.h.
bool QGeoRouteSegmentPrivate::m_valid = false |
Definition at line 59 of file qgeoroutesegment_p.h.