KPublicTransport
journeyutil.cpp
91 if (!section.from().hasCoordinate() || !section.to().hasCoordinate() || section.path().isEmpty()) {
104 if (section.mode() == JourneySection::PublicTransport && Line::modeIsRailBound(section.route().line().mode())) {
void setIntermediateStops(std::vector< Stopover > &&stops)
Set the intermediate stops.
Definition journey.cpp:245
std::vector< Stopover > && takeIntermediateStops()
Moves the intermediate stops out of this object.
Definition journey.cpp:239
QDateTime scheduledDepartureTime
Departure time of the journey, according to schedule.
Definition journey.h:292
void setSections(std::vector< JourneySection > &§ions)
Sets the journey sections.
Definition journey.cpp:774
QList< KPublicTransport::JourneySection > sections
Journey sections for consumption by QML.
Definition journey.h:290
std::vector< JourneySection > && takeSections()
Moves the journey sections out of this object.
Definition journey.cpp:768
static bool modeIsRailBound(KPublicTransport::Line::Mode mode)
true if mode is bounds to rail tracks.
Definition line.cpp:139
static double distance(double lat1, double lon1, double lat2, double lon2)
Compute the distance between two geo coordinates, in meters.
Definition location.cpp:458
void stop(Ekos::AlignState mode)
QString path(const QString &relativePath)
Query operations and data types for accessing realtime public transport information from online servi...
Definition attribution.cpp:16
bool isValid() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:52 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:50:52 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.