KPublicTransport
path.h
91 Q_INVOKABLE [[nodiscard]] static QString maneuverIconName(KPublicTransport::PathSection::Maneuver maneuver);
static Q_INVOKABLE QString maneuverIconName(KPublicTransport::PathSection::Maneuver maneuver)
An icon representing maneuver.
Definition path.cpp:77
static QJsonObject toJson(const PathSection §ion)
Serializes one path section section to JSON.
Definition path.cpp:98
static PathSection fromJson(const QJsonObject &obj)
Deserialize an object from JSON.
Definition path.cpp:121
int startFloorLevel
Absolute floor level at the beginning of this path, if known.
Definition path.h:45
std::vector< PathSection > && takeSections()
Moves the path sections out of this object.
Definition path.cpp:153
void setSections(std::vector< PathSection > &§ions)
Sets the path sections.
Definition path.cpp:159
static QJsonObject toJson(const Path &path)
Serializes one path object to JSON.
Definition path.cpp:180
std::vector< KPublicTransport::PathSection > sections
Access to path sections for QML.
Definition path.h:117
Query operations and data types for accessing realtime public transport information from online servi...
Definition attribution.cpp:16
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.