118 return ( (d_ptr.constData() ==
other.d_ptr.constData())
119 || (*d_ptr) == (*
other.d_ptr));
130 return d_ptr->
valid();
246 return d_ptr->
path();
367#include "moc_qgeoroutesegment.cpp"
void setNextRouteSegment(const QExplicitlySharedDataPointer< QGeoRouteSegmentPrivate > &next)
QExplicitlySharedDataPointer< QGeoRouteSegmentPrivate > nextRouteSegment() const
void setDistance(qreal distance)
void setLegLastSegment(bool lastSegment)
void setTravelTime(int travelTime)
QList< QGeoCoordinate > m_path
QExplicitlySharedDataPointer< QGeoRouteSegmentPrivate > m_nextSegment
void setManeuver(const QGeoManeuver &maneuver)
void setPath(const QList< QGeoCoordinate > &path)
void setValid(bool valid)
static QGeoRouteSegmentPrivate * get(QGeoRouteSegment &segment)
bool isLegLastSegment() const
QList< QGeoCoordinate > path() const
QGeoRouteSegmentPrivate()
QGeoManeuver maneuver() const
bool isLegLastSegment() const
Returns whether this route segment is the last segment of a route leg.
void setManeuver(const QGeoManeuver &maneuver)
QList< QGeoCoordinate > path
\qmlproperty list<coordinate> QtLocation::routeSegment::path
~QGeoRouteSegment()
Destroys this route segment object.
qreal distance
\qmlproperty real QtLocation::routeSegment::distance
void setNextRouteSegment(const QGeoRouteSegment &routeSegment)
Sets the next route segment in the route to routeSegment.
QGeoRouteSegment nextRouteSegment() const
Returns the next route segment in the route.
void setDistance(qreal distance)
QML_STRUCTURED_VALUEint travelTime
\qmlproperty int QtLocation::routeSegment::travelTime
QGeoRouteSegment()
\qmltype routeSegment \inqmlmodule QtLocation
QGeoRouteSegment & operator=(const QGeoRouteSegment &other) noexcept
Assigns other to this route segment object and then returns a reference to this route segment object.
bool isValid() const
Returns whether this route segment is valid or not.
void setTravelTime(int secs)
QGeoManeuver maneuver
\qmlproperty RouteManeuver QtLocation::routeSegment::maneuver
void setPath(const QList< QGeoCoordinate > &path)
Combined button and popup list for selecting options.
bool operator==(const QGeoRouteSegmentPrivate &lhs, const QGeoRouteSegmentPrivate &rhs)
GLsizei GLsizei GLfloat distance
GLsizei const GLchar *const * path
#define QT_DEFINE_QESDP_SPECIALIZATION_DTOR(Class)