KPublicTransport
stopoverrequest.cpp
86 std::transform(d->lineModes.begin(), d->lineModes.end(), std::back_inserter(l), [](const Line::Mode &value) {
97 std::transform(lineModes.begin(), lineModes.end(), std::back_inserter(l), [](const auto &mode) { return static_cast<Line::Mode>(mode.toInt()); });
155 hash.addData(QByteArray::number(d->dateTime.toSecsSinceEpoch() / DepartureCacheTimeResolution));
static QJsonObject toJson(const Location &loc)
Serializes one Location object to JSON.
Definition location.cpp:494
Describes an arrival or departure search.
Definition stopoverrequest.h:33
void setBackendIds(const QStringList &backendIds)
Set identifiers of backends that should be queried.
Definition stopoverrequest.cpp:146
QString cacheKey() const
Unique string representation used for caching results.
Definition stopoverrequest.cpp:152
KPublicTransport::Location stop
The location at which to search for departures/arrivals.
Definition stopoverrequest.h:37
QStringList backendIds() const
Identifiers of the backends that should be queried.
Definition stopoverrequest.cpp:141
void setLineModes(std::vector< Line::Mode > &&modes)
Sets the requested line modes.
Definition stopoverrequest.cpp:74
void stop(Ekos::AlignState mode)
Query operations and data types for accessing realtime public transport information from online servi...
Definition attribution.cpp:16
QByteArray number(double n, char format, int precision)
QByteArray toHex(char separator) const const
bool addData(QIODevice *device)
QByteArray result() const const
QDateTime currentDateTime()
QMetaEnum fromType()
QString fromUtf8(QByteArrayView str)
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.