KPublicTransport::LoadInfo
KPublicTransport::LoadInfo Class Reference
#include <load.h>
Properties | |
KPublicTransport::Load::Category | load |
QString | seatingClass |
Static Public Member Functions | |
static std::vector< LoadInfo > | fromJson (const QJsonArray &array) |
static LoadInfo | fromJson (const QJsonObject &obj) |
static QJsonObject | toJson (const LoadInfo &info) |
static QJsonArray | toJson (const std::vector< LoadInfo > &loadInfos) |
Detailed Description
Vehicle load information.
This consists of a load category and additional specifiers for which part of the vehicle this applies to, such as the class or vehicle section.
Property Documentation
◆ load
|
readwrite |
◆ seatingClass
|
readwrite |
Seating class, empty if not applicable.
TODO should this be the same enum as in VehicleSection?
Member Function Documentation
◆ fromJson() [1/2]
|
static |
◆ fromJson() [2/2]
|
static |
◆ toJson() [1/2]
|
static |
◆ toJson() [2/2]
|
static |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.