java.lang.Object
io.qt.QtObject
io.qt.location.QGeoRoute
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Direct Known Subclasses:
QGeoRouteLeg
Represents a route between two points
Java wrapper for Qt class QGeoRoute
- Since:
- This class was introduced in Qt 5.6.
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final QGeoRectangle
bounds()
clone()
Creates and returns a copy of this object.final double
distance()
final boolean
boolean
final QGeoRouteSegment
int
hashCode()
Returns the objects's hash code computed byqHash(QGeoRoute)
.final QList<QGeoCoordinate>
path()
final QGeoRouteRequest
request()
final String
routeId()
final QList<QGeoRouteLeg>
final void
setBounds
(QGeoRectangle bounds) final void
setDistance
(double distance) final void
setExtendedAttributes
(Map<String, ? extends Object> extendedAttributes) final void
setFirstRouteSegment
(QGeoRouteSegment routeSegment) final void
setPath
(Collection<? extends QGeoCoordinate> path) final void
setRequest
(QGeoRouteRequest request) final void
setRouteId
(String id) final void
setRouteLegs
(Collection<? extends QGeoRouteLeg> legs) final void
final void
setTravelTime
(int secs) final int
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QGeoRoute
public QGeoRoute() -
QGeoRoute
- Parameters:
other
-
-
-
Method Details
-
bounds
- Returns:
-
distance
- Returns:
-
extendedAttributes
- Returns:
- Since:
- This function was introduced in Qt 5.13.
-
firstRouteSegment
- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
path
- Returns:
-
request
- Returns:
-
routeId
- Returns:
-
routeLegs
- Returns:
- Since:
- This function was introduced in Qt 5.12.
-
setBounds
- Parameters:
bounds
-
-
setDistance
- Parameters:
distance
-
-
setExtendedAttributes
@QtUninvokable public final void setExtendedAttributes(Map<String, ? extends Object> extendedAttributes) - Parameters:
extendedAttributes
-- Since:
- This function was introduced in Qt 5.13.
-
setFirstRouteSegment
- Parameters:
routeSegment
-
-
setPath
- Parameters:
path
-
-
setRequest
- Parameters:
request
-
-
setRouteId
- Parameters:
id
-
-
setRouteLegs
- Parameters:
legs
-- Since:
- This function was introduced in Qt 5.12.
-
setTravelMode
- Parameters:
mode
-
-
setTravelTime
- Parameters:
secs
-
-
travelMode
- Returns:
-
travelTime
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QGeoRoute)
. -
clone
Creates and returns a copy of this object.
-