KPublicTransport
journeyrequest.h
79 Q_PROPERTY(QVariantList individualTransportModes READ individualTransportModesVariant WRITE setIndividualTransportModesVariant)
Individual transport mode details for a journey section, and for specifying journey requests.
Definition individualtransport.h:19
void setIndividualTransportModes(std::vector< IndividualTransport > &&modes)
Sets individual transport modes considered for direct journeys.
Definition journeyrequest.cpp:252
void setArrivalTime(const QDateTime &dt)
Sets the desired arrival time.
Definition journeyrequest.cpp:91
JourneyRequest(const Location &from, const Location &to)
Search a journey from from to to.
Definition journeyrequest.cpp:58
void setDepartureTime(const QDateTime &dt)
Set the desired departure time.
Definition journeyrequest.cpp:84
bool requiresBikeTransport() const
Returns true if the specified access/egress modes require bike transportation on public transport.
Definition journeyrequest.cpp:220
void setAccessModes(std::vector< IndividualTransport > &&accessModes)
Sets the requested access modes.
Definition journeyrequest.cpp:174
bool downloadAssets
Download graphic assets such as line logos for the data requested here.
Definition journeyrequest.h:94
QStringList backendIds() const
Identifiers of the backends that should be queried.
Definition journeyrequest.cpp:142
void setEgressModes(std::vector< IndividualTransport > &&egressModes)
Sets the requested egress modes.
Definition journeyrequest.cpp:196
bool isValid() const
Returns true if this is a valid request, that is, it has enough parameters set to perform a query.
Definition journeyrequest.cpp:65
QString cacheKey() const
Unique string representation used for caching results.
Definition journeyrequest.cpp:269
KPublicTransport::Location from
The starting point of the journey search.
Definition journeyrequest.h:41
void setBackendIds(const QStringList &backendIds)
Set identifiers of backends that should be queried.
Definition journeyrequest.cpp:147
void setLineModes(std::vector< Line::Mode > &&modes)
Sets the requested line modes.
Definition journeyrequest.cpp:225
QVariantList individualTransportModes
Individual transport modes for direct connections.
Definition journeyrequest.h:79
KPublicTransport::JourneySection::Modes modes
Modes of transportation that should be considered for this query.
Definition journeyrequest.h:51
DateTimeMode dateTimeMode
Controls whether to search for journeys starting or ending at the given time.
Definition journeyrequest.h:87
bool includeIntermediateStops
Retrieve intermediate stops for the queried journeys as well.
Definition journeyrequest.h:61
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 Jan 24 2025 11:50:52 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:52 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.