KPublicTransport
vehiclelayoutrequest.cpp
47 return QString::number(d->stopover.scheduledDepartureTime().toSecsSinceEpoch() / StopoverCacheTimeResolution) + QLatin1Char('_')
Information about an arrival and/or departure of a vehicle at a stop area.
Definition stopover.h:26
static QJsonObject toJson(const Stopover &stopover)
Serializes one object to JSON.
Definition stopover.cpp:232
Describes a query for vehicle layout information.
Definition vehiclelayoutrequest.h:25
QString cacheKey() const
Unique string representation used for caching results.
Definition vehiclelayoutrequest.cpp:45
bool isValid() const
Returns true if this is a valid request, that is it has enough parameters set to perform a query.
Definition vehiclelayoutrequest.cpp:40
void setBackendIds(const QStringList &backendIds)
Set identifiers of backends that should be queried.
Definition vehiclelayoutrequest.cpp:63
QStringList backendIds() const
Identifiers of the backends that should be queried.
Definition vehiclelayoutrequest.cpp:58
KPublicTransport::Stopover stopover
The stopover vehicle and platform layout information are requested for.
Definition vehiclelayoutrequest.h:29
Query operations and data types for accessing realtime public transport information from online servi...
Definition attribution.cpp:16
QString number(double n, char format, int precision)
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.