KPublicTransport::Route
KPublicTransport::Route Class Reference
#include <line.h>
Properties | |
KPublicTransport::Location | destination |
QString | direction |
KPublicTransport::Line | line |
QString | name |
Static Public Member Functions | |
static Route | fromJson (const QJsonObject &obj) |
static bool | isSame (const Route &lhs, const Route &rhs) |
static Route | merge (const Route &lhs, const Route &rhs) |
static QJsonObject | toJson (const Route &r) |
Detailed Description
Property Documentation
◆ destination
|
readwrite |
◆ direction
|
readwrite |
◆ line
|
readwrite |
◆ name
|
readwrite |
Name of the route.
This is not to be confused with the name of the line, which is the much more commonly used value. Use this only if both are in use and you know which one is which, otherwise default to the line name.
- See also
- Line::name.
Member Function Documentation
◆ fromJson()
|
staticnodiscard |
◆ isSame()
◆ merge()
◆ toJson()
|
staticnodiscard |
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 Fri Dec 27 2024 11:49:49 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:49:49 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.