java.lang.Object
io.qt.QtObject
io.qt.location.QGeoRoute
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents a route between two points
Java wrapper for Qt's class QGeoRoute
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final QGeoRectangle
bounds()
clone()
Creates and returns a copy of this object.final double
distance()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final QGeoRouteSegment
final QGeoRectangle
Kotlin property getter.final double
Kotlin property getter.Kotlin property getter.final int
Kotlin property getter.final QGeoRoute
Kotlin property getter.final QList<QGeoCoordinate>
getPath()
Kotlin property getter.final String
Kotlin property getter.Kotlin property getter.final QList<QGeoRouteSegment>
Kotlin property getter.final long
Kotlin property getter.final int
Kotlin property getter.int
hashCode()
final int
legIndex()
final QGeoRoute
final QList<QGeoCoordinate>
path()
final QGeoRouteRequest
request()
final String
routeId()
final QList<QGeoRouteSegment>
segments()
final long
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
setLegIndex
(int idx) final void
setOverallRoute
(QGeoRoute route) final void
setPath
(Collection<? extends QGeoCoordinate> path) final void
setRequest
(QGeoRouteRequest request) final void
setRouteId
(String id) final void
setRouteLegs
(Collection<? extends QGeoRoute> legs) final void
final void
setTravelTime
(int secs) final void
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
-
QGeoRoute
public QGeoRoute() -
QGeoRoute
-
QGeoRoute
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
getBounds
Kotlin property getter. In Java use
bounds()
instead. -
bounds
-
getDistance
Kotlin property getter. In Java use
distance()
instead. -
distance
-
getExtendedAttributes
Kotlin property getter. In Java use
extendedAttributes()
instead. -
extendedAttributes
-
firstRouteSegment
-
getLegIndex
Kotlin property getter. In Java use
legIndex()
instead. -
legIndex
-
assign
-
getOverallRoute
Kotlin property getter. In Java use
overallRoute()
instead. -
overallRoute
-
getPath
Kotlin property getter. In Java use
path()
instead. -
path
-
request
-
getRouteId
Kotlin property getter. In Java use
routeId()
instead. -
routeId
-
getRouteLegs
Kotlin property getter. In Java use
routeLegs()
instead. -
routeLegs
-
getSegments
Kotlin property getter. In Java use
segments()
instead. -
segments
-
getSegmentsCount
Kotlin property getter. In Java use
segmentsCount()
instead. -
segmentsCount
-
setBounds
-
setDistance
-
setExtendedAttributes
@QtUninvokable public final void setExtendedAttributes(Map<String, ? extends Object> extendedAttributes) -
setFirstRouteSegment
-
setLegIndex
-
setOverallRoute
-
setPath
-
setRequest
-
setRouteId
-
setRouteLegs
-
setTravelMode
-
setTravelTime
-
swap
-
travelMode
-
getTravelTime
Kotlin property getter. In Java use
travelTime()
instead. -
travelTime
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
Creates and returns a copy of this object.
-