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:252
std::vector< Stopover > && takeIntermediateStops()
Moves the intermediate stops out of this object.
Definition journey.cpp:246
QDateTime scheduledDepartureTime
Departure time of the journey, according to schedule.
Definition journey.h:324
void setSections(std::vector< JourneySection > &§ions)
Sets the journey sections.
Definition journey.cpp:905
QList< KPublicTransport::JourneySection > sections
Journey sections for consumption by QML.
Definition journey.h:322
std::vector< JourneySection > && takeSections()
Moves the journey sections out of this object.
Definition journey.cpp:899
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 Feb 28 2025 11:53:27 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 28 2025 11:53:27 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.