KItinerary
locationutil.h
71bool KITINERARY_EXPORT isSameLocation(const QVariant &lhs, const QVariant &rhs, Accuracy accuracy = Exact);
GeoCoordinates geo(const QVariant &location)
Returns the geo coordinates of a given location.
Definition locationutil.cpp:118
QVariant location(const QVariant &res)
Returns the location of a non-transport reservation.
Definition locationutil.cpp:97
bool isLocationChange(const QVariant &res)
Returns true if the given reservation is a location change.
Definition locationutil.cpp:41
int distance(const GeoCoordinates &coord1, const GeoCoordinates &coord2)
Computes the distance between to geo coordinates in meters.
Definition locationutil.cpp:158
bool isSameLocation(const QVariant &lhs, const QVariant &rhs, Accuracy accuracy=Exact)
Returns true if the given locations are the same.
Definition locationutil.cpp:280
QVariant departureLocation(const QVariant &res)
Returns the departure location of the given reservation.
Definition locationutil.cpp:74
QVariant arrivalLocation(const QVariant &res)
Returns the arrival location of the given reservation.
Definition locationutil.cpp:54
PostalAddress address(const QVariant &location)
Returns the address of the given location.
Definition locationutil.cpp:130
@ WalkingDistance
Locations are close enough together to not need transportation.
Definition locationutil.h:63
QUrl geoUri(const QVariant &location)
Returns a geo: URI for the given location.
Definition locationutil.cpp:333
Classes for reservation/travel data models, data extraction and data augmentation.
Definition berelement.h:17
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:28:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:28:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.