The QContactGeoLocation class contains a global location coordinate associated with a contact. More...
#include <QContactGeoLocation>
Inherits: QContactDetail.
double | accuracy () const |
double | altitude () const |
double | altitudeAccuracy () const |
double | heading () const |
QString | label () const |
double | latitude () const |
double | longitude () const |
void | setAccuracy ( double accuracy ) |
void | setAltitude ( double altitude ) |
void | setAltitudeAccuracy ( double altitudeAccuracy ) |
void | setHeading ( double heading ) |
void | setLabel ( const QString & label ) |
void | setLatitude ( double latitude ) |
void | setLongitude ( double longitude ) |
void | setSpeed ( double speed ) |
void | setTimestamp ( const QDateTime & timestamp ) |
double | speed () const |
QDateTime | timestamp () const |
const QLatin1Constant | DefinitionName |
const QLatin1Constant | FieldAccuracy |
const QLatin1Constant | FieldAltitude |
const QLatin1Constant | FieldAltitudeAccuracy |
const QLatin1Constant | FieldHeading |
const QLatin1Constant | FieldLabel |
const QLatin1Constant | FieldLatitude |
const QLatin1Constant | FieldLongitude |
const QLatin1Constant | FieldSpeed |
const QLatin1Constant | FieldTimestamp |
The QContactGeoLocation class contains a global location coordinate associated with a contact.
This leaf-class has been part of the default schema since version 1.0 of the Qt Mobility project.
Returns the accuracy (in metres) of the latitude and longitude of the location stored in the detail.
This function was introduced in Qt Mobility 1.0.
See also setAccuracy().
Returns the altitude (in metres) of the location stored in the detail.
This function was introduced in Qt Mobility 1.0.
See also setAltitude().
Returns the accuracy of the altitude portion of the location stored in the detail.
This function was introduced in Qt Mobility 1.0.
See also setAltitudeAccuracy().
Returns the heading (at the time of measurement) of the location-aware device that recorded (or was provided) the measurement.
This function was introduced in Qt Mobility 1.0.
See also setHeading().
Returns the label of the location stored in the detail.
This function was introduced in Qt Mobility 1.0.
See also setLabel().
Returns the latitude portion of the coordinate (specified in decimal degrees) of the location stored in the detail.
This function was introduced in Qt Mobility 1.0.
See also setLatitude().
Returns the longitude portion of the coordinate (specified in decimal degrees) of the location stored in the detail.
This function was introduced in Qt Mobility 1.0.
See also setLongitude().
Specifies that the latitude and longitude portions of the location stored in the detail are accurate to within accuracy metres.
This function was introduced in Qt Mobility 1.0.
See also accuracy().
Sets the altitude portion of the coordinate (in metres above the ellipsoid) of the location stored in the detail to altitude.
This function was introduced in Qt Mobility 1.0.
See also altitude().
Sets the altitude-accuracy portion of the coordinate (in metres) of the location stored in the detail to altitudeAccuracy.
This function was introduced in Qt Mobility 1.0.
See also altitudeAccuracy().
Sets the heading portion of the coordinate (in decimal degrees clockwise relative to true north) of the location-aware device at the time of measurement to heading.
This function was introduced in Qt Mobility 1.0.
See also heading().
Sets the label of the location stored in the detail to label.
This function was introduced in Qt Mobility 1.0.
See also label().
Sets the latitude portion of the coordinate (in decimal degrees) of the location stored in the detail to latitude.
This function was introduced in Qt Mobility 1.0.
See also latitude().
Sets the longitude portion of the coordinate (in decimal degrees) of the location stored in the detail to longitude.
This function was introduced in Qt Mobility 1.0.
See also longitude().
Sets the speed portion of the coordinate (in metres per second) of the location-aware device at the time of measurement to speed.
This function was introduced in Qt Mobility 1.0.
See also speed().
Sets the creation (or first-valid) timestamp of the location information to timestamp.
This function was introduced in Qt Mobility 1.0.
See also timestamp().
Returns the speed (at the time of measurement) of the location-aware device that recorded (or was provided) the measurement.
This function was introduced in Qt Mobility 1.0.
See also setSpeed().
Returns the timestamp associated with the location stored in the detail.
This function was introduced in Qt Mobility 1.0.
See also setTimestamp().
The string constant for the definition name of QContactGeoLocation details.
The field key constant for the value containing the location (latitude/longitude) accuracy.
See also accuracy() and setAccuracy().
The field key constant for the value containing the altitude.
See also altitude() and setAltitude().
The field key constant for the value containing the accuracy of the altitude.
See also altitudeAccuracy() and setAltitudeAccuracy().
The field key constant for the value containing the heading.
See also heading() and setHeading().
The field key constant for the value containing the location label.
See also label() and setLabel().
The field key constant for the value containing the latitude.
See also latitude() and setLatitude().
The field key constant for the value containing the longitude.
See also longitude() and setLongitude().
The field key constant for the value containing the speed.
See also speed() and setSpeed().
The field key constant for the value containing the timestamp of the location information.
See also timestamp() and setTimestamp().