Marble
RoutingInstruction.h
Stores data related to one instruction: Road name, angle to predecessor, associated waypoints etc.
Definition RoutingInstruction.h:26
bool append(const RoutingWaypoint &item, int angle)
Append data of the given item, returns true if item's street name matches instructions street name.
Definition RoutingInstruction.cpp:30
QString totalDurationRemaining() const
Formats the instruction (duration to destination) for a human reader.
Definition RoutingInstruction.cpp:326
QList< RoutingWaypoint > points() const
Waypoints from the last instruction to this instruction.
Definition RoutingInstruction.cpp:167
RoutingInstruction(const RoutingWaypoint &item=RoutingWaypoint())
Constructor.
Definition RoutingInstruction.cpp:18
void setPredecessor(RoutingInstruction *predecessor)
Change the predecessor.
Definition RoutingInstruction.cpp:192
QString instructionText() const
Formats the instruction for a human reader.
Definition RoutingInstruction.cpp:346
QString nextDistanceInstruction() const
Formats the instruction (distance to next instruction) for a human reader.
Definition RoutingInstruction.cpp:287
qreal angleToPredecssor() const
The angle between the two turn roads, in radians.
Definition RoutingInstruction.cpp:177
QString nextRoadInstruction() const
Formats the instruction (road name) for a human reader.
Definition RoutingInstruction.cpp:246
QList< RoutingPoint > intersectionPoints() const
Contains the intersection point and points near it on the previous and current road.
Definition RoutingInstruction.cpp:172
qreal distanceFromStart() const
The distance from the route start.
Definition RoutingInstruction.cpp:224
int secondsLeft() const
Estimated number of seconds to the route destination.
Definition RoutingInstruction.cpp:73
void setSuccessor(RoutingInstruction *successor)
Change the successor.
Definition RoutingInstruction.cpp:209
qreal distance() const
The accumulated distance of all waypoints belonging to this instruction.
Definition RoutingInstruction.cpp:214
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:10 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:10 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.