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's class QGeoRouteSegment
-
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
ConstructorsModifierConstructorDescriptionQGeoRouteSegment
(QGeoRouteSegment other) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QGeoRouteSegment other) 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 double
Kotlin property getter.final QGeoManeuver
Kotlin property getter.final QList<QGeoCoordinate>
getPath()
Kotlin property getter.final int
Kotlin property getter.int
hashCode()
final boolean
final boolean
isValid()
final QGeoManeuver
maneuver()
final QGeoRouteSegment
final QList<QGeoCoordinate>
path()
final void
setDistance
(double distance) final void
setManeuver
(QGeoManeuver maneuver) final void
setNextRouteSegment
(QGeoRouteSegment routeSegment) final void
setPath
(Collection<? extends QGeoCoordinate> path) final void
setTravelTime
(int secs) final void
swap
(QGeoRouteSegment other) 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
-
QGeoRouteSegment
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
getDistance
Kotlin property getter. In Java use
distance()
instead. -
distance
-
isLegLastSegment
-
isValid
-
getManeuver
Kotlin property getter. In Java use
maneuver()
instead. -
maneuver
-
nextRouteSegment
-
assign
-
getPath
Kotlin property getter. In Java use
path()
instead. -
path
-
setDistance
-
setManeuver
-
setNextRouteSegment
-
setPath
-
setTravelTime
-
swap
-
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.
-