KPublicTransport
locationrequest.h
bool isValid() const
Returns true if this is a valid request, that is it has enough parameters set to perform a query.
Definition locationrequest.cpp:44
void setLatitude(double lat)
Sets the latitude of the location to search.
Definition locationrequest.cpp:65
void setBackendIds(const QStringList &backendIds)
Set identifiers of backends that should be queried.
Definition locationrequest.cpp:130
QString cacheKey() const
Unique string representation used for caching results.
Definition locationrequest.cpp:107
void setLongitude(double lon)
Sets the longitude of the location to search.
Definition locationrequest.cpp:76
void setCoordinate(double lat, double lon)
Search by geo coordinate.
Definition locationrequest.cpp:82
LocationRequest(const Location &locaction)
Create a LocationRequest from locaction.
Definition locationrequest.cpp:38
KPublicTransport::Location::Types types
The type of locations you are interested in.
Definition locationrequest.h:52
KPublicTransport::Location location
Location object containing the search parameters.
Definition locationrequest.h:31
bool hasCoordinate() const
Returns true if a valid geo coordinate has been set.
Definition locationrequest.cpp:88
QStringList backendIds() const
Identifiers of the backends that should be queried.
Definition locationrequest.cpp:125
int maximumDistance
When searching by coordinate, the expected maximum distance of the results in meters.
Definition locationrequest.h:42
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.