java.lang.Object
io.qt.QtObject
io.qt.location.QGeoRouteSegment
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents a segment of a route
Java wrapper for Qt class QGeoRouteSegment
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QGeoRouteSegment other) clone()
Creates and returns a copy of this object.final double
distance()
final boolean
equals
(QGeoRouteSegment rhs) boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QGeoRouteSegment)
.final boolean
final boolean
isValid()
final QGeoManeuver
maneuver()
final QGeoRouteSegment
final QList<QGeoCoordinate>
path()
final void
setDistance
(double distance) SeeQGeoRouteSegment::
setDistance(qreal) final void
setManeuver
(QGeoManeuver maneuver) SeeQGeoRouteSegment::
setManeuver(QGeoManeuver) final void
setNextRouteSegment
(QGeoRouteSegment routeSegment) final void
setPath
(Collection<? extends QGeoCoordinate> path) SeeQGeoRouteSegment::
setPath(QList<QGeoCoordinate>) final void
setTravelTime
(int secs) SeeQGeoRouteSegment::
setTravelTime(int) final void
swap
(QGeoRouteSegment other) SeeQGeoRouteSegment::
swap(QGeoRouteSegment&) final int
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QGeoRouteSegment
public QGeoRouteSegment() -
QGeoRouteSegment
- Parameters:
other
-
-
-
Method Details
-
distance
- Returns:
-
isLegLastSegment
- Returns:
-
isValid
- Returns:
-
maneuver
- Returns:
-
nextRouteSegment
- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
rhs
-- Returns:
-
path
- Returns:
-
setDistance
See
QGeoRouteSegment::
setDistance(qreal) - Parameters:
distance
-
-
setManeuver
See
QGeoRouteSegment::
setManeuver(QGeoManeuver) - Parameters:
maneuver
-
-
setNextRouteSegment
- Parameters:
routeSegment
-
-
setPath
See
QGeoRouteSegment::
setPath(QList<QGeoCoordinate>) - Parameters:
path
-
-
setTravelTime
See
QGeoRouteSegment::
setTravelTime(int) - Parameters:
secs
-
-
swap
See
QGeoRouteSegment::
swap(QGeoRouteSegment&) - Parameters:
other
-
-
travelTime
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QGeoRouteSegment)
. -
clone
Creates and returns a copy of this object.
-