KPublicTransport
location.h
26 * This can be a train station, a bus stop, a rental vehicle dock, a free-floating vehicle position,
38 RentedVehicleStation = 2, ///< a pick-up/drop-off point for dock-based rental bike/scooter systems
79 * Depending on the location type this can be e.g. a RentalVehicleStation or an Equipment instance.
84 Q_PROPERTY(KPublicTransport::RentalVehicleStation rentalVehicleStation READ rentalVehicleStation STORED false)
103 /** Returns @c true if this is an default-constructed location object not specifying any location. */
112 Q_INVOKABLE [[nodiscard]] inline QString identifier(const QString &identifierType) const { return identifier(QAnyStringView(identifierType)); }
113 [[nodiscard]] inline QString identifier(QLatin1StringView identifierType) const { return identifier(QAnyStringView(identifierType)); }
Status information about equipment such as elevators or escalators.
Definition equipment.h:25
KPublicTransport::Equipment equipment
Equipment information, if applicable for this location.
Definition location.h:88
KPublicTransport::RentalVehicle rentalVehicle
Rental vehicle information, if applicable for this location.
Definition location.h:86
KPublicTransport::RentalVehicleStation rentalVehicleStation
Rental vehicle dock information, if applicable for this location.
Definition location.h:84
@ RentedVehicleStation
a pick-up/drop-off point for dock-based rental bike/scooter systems
Definition location.h:38
QString identifier(QAnyStringView identifierType) const
Location identifiers.
Definition location.cpp:145
QString country
Country of the location as ISO 3166-1 alpha 2 code, if known.
Definition location.h:67
bool isEmpty() const
Returns true if this is an default-constructed location object not specifying any location.
Definition location.cpp:121
Additional information for a vehicle renting station, attached to Location objects.
Definition rentalvehicle.h:94
An individual rental vehicle used on a JourneySection, ie.
Definition rentalvehicle.h:28
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 Feb 14 2025 12:02:12 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 14 2025 12:02:12 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.