2 SPDX-FileCopyrightText: 2012 Jan Grulich <[email protected]>
10 using namespace KGAPI2;
12 class Q_DECL_HIDDEN Location::Private
52 Geo(latitude, longitude),
93 d->timestamp = timestamp;
98 d->accuracy = accuracy;
103 d->speed = speed;
108 d->heading = heading;
113 d->altitude = altitude;
118 d->altitudeAccuracy = altitudeAccuracy;
qint32 speed() const
Returns ground speed of the user at the time this location was recorded.
float longitude() const
void setAltitudeAccuracy(qint32 altitudeAccuracy)
Sets altitude accuracy of this location.
qint32 altitude() const
Returns altitude of this location.
void setTimestamp(qulonglong timestamp)
Sets timestamp of this location.
qint32 accuracy() const
Returns accuracy of the latitude and longitude in meters.
qint32 heading() const
Returns direction of travel of the user when this location was recorded.
void setAltitude(qint32 altitude)
Sets altitude of this location.
qint32 altitudeAccuracy() const
Returns altitude accuracy.
void setSpeed(qint32 speed)
Sets speed of this location.
float latitude() const
void setHeading(qint32 heading)
Sets heading of this location.
qulonglong timestamp() const
Timestamp of when this location has been recorded.
void setAccuracy(qint32 accuracy)
Sets accuracy of this location.