Home · All Classes · All Functions ·

QContactGeoLocation Class Reference

The QContactGeoLocation class contains a global location coordinate associated with a contact. More...

    #include <QContactGeoLocation>

Inherits QContactDetail.

Public Functions

Static Public Members


Detailed Description

The QContactGeoLocation class contains a global location coordinate associated with a contact.


Member Function Documentation

double QContactGeoLocation::accuracy () const

Returns the accuracy (in metres) of the latitude and longitude of the location stored in the detail.

See also setAccuracy().

double QContactGeoLocation::altitude () const

Returns the altitude (in metres) of the location stored in the detail.

See also setAltitude().

double QContactGeoLocation::altitudeAccuracy () const

Returns the accuracy of the altitude portion of the location stored in the detail.

See also setAltitudeAccuracy().

double QContactGeoLocation::heading () const

Returns the heading (at the time of measurement) of the location-aware device that recorded (or was provided) the measurement.

See also setHeading().

QString QContactGeoLocation::label () const

Returns the label of the location stored in the detail.

See also setLabel().

double QContactGeoLocation::latitude () const

Returns the latitude portion of the coordinate (specified in decimal degrees) of the location stored in the detail.

See also setLatitude().

double QContactGeoLocation::longitude () const

Returns the longitude portion of the coordinate (specified in decimal degrees) of the location stored in the detail.

See also setLongitude().

void QContactGeoLocation::setAccuracy ( double accuracy )

Specifies that the latitude and longitude portions of the location stored in the detail are accurate to within accuracy metres.

See also accuracy().

void QContactGeoLocation::setAltitude ( double altitude )

Sets the altitude portion of the coordinate (in metres above the ellipsoid) of the location stored in the detail to altitude.

See also altitude().

void QContactGeoLocation::setAltitudeAccuracy ( double altitudeAccuracy )

Sets the altitude-accuracy portion of the coordinate (in metres) of the location stored in the detail to altitudeAccuracy.

See also altitudeAccuracy().

void QContactGeoLocation::setHeading ( double heading )

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.

See also heading().

void QContactGeoLocation::setLabel ( const QString & label )

Sets the label of the location stored in the detail to label.

See also label().

void QContactGeoLocation::setLatitude ( double latitude )

Sets the latitude portion of the coordinate (in decimal degrees) of the location stored in the detail to latitude.

See also latitude().

void QContactGeoLocation::setLongitude ( double longitude )

Sets the longitude portion of the coordinate (in decimal degrees) of the location stored in the detail to longitude.

See also longitude().

void QContactGeoLocation::setSpeed ( double speed )

Sets the speed portion of the coordinate (in metres per second) of the location-aware device at the time of measurement to speed.

See also speed().

void QContactGeoLocation::setTimestamp ( const QDateTime & timestamp )

Sets the creation (or first-valid) timestamp of the location information to timestamp.

See also timestamp().

double QContactGeoLocation::speed () const

Returns the speed (at the time of measurement) of the location-aware device that recorded (or was provided) the measurement.

See also setSpeed().

QDateTime QContactGeoLocation::timestamp () const

Returns the timestamp associated with the location stored in the detail.

See also setTimestamp().


Member Variable Documentation

const QLatin1Constant QContactGeoLocation::DefinitionName

The string constant for the definition name of QContactGeoLocation details.

const QLatin1Constant QContactGeoLocation::FieldAccuracy

The field key constant for the value containing the location (latitude/longitude) accuracy.

See also accuracy() and setAccuracy().

const QLatin1Constant QContactGeoLocation::FieldAltitude

The field key constant for the value containing the altitude.

See also altitude() and setAltitude().

const QLatin1Constant QContactGeoLocation::FieldAltitudeAccuracy

The field key constant for the value containing the accuracy of the altitude.

See also altitudeAccuracy() and setAltitudeAccuracy().

const QLatin1Constant QContactGeoLocation::FieldHeading

The field key constant for the value containing the heading.

See also heading() and setHeading().

const QLatin1Constant QContactGeoLocation::FieldLabel

The field key constant for the value containing the location label.

See also label() and setLabel().

const QLatin1Constant QContactGeoLocation::FieldLatitude

The field key constant for the value containing the latitude.

See also latitude() and setLatitude().

const QLatin1Constant QContactGeoLocation::FieldLongitude

The field key constant for the value containing the longitude.

See also longitude() and setLongitude().

const QLatin1Constant QContactGeoLocation::FieldSpeed

The field key constant for the value containing the speed.

See also speed() and setSpeed().

const QLatin1Constant QContactGeoLocation::FieldTimestamp

The field key constant for the value containing the timestamp of the location information.

See also timestamp() and setTimestamp().


Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.0.1