QtMobility Reference Documentation

QOrganizerItemLocation Class Reference

The QOrganizerItemLocation class contains information about a location which is related to the organizer item in some manner. More...

 #include <QOrganizerItemLocation>

Inherits: QOrganizerItemDetail.

This class was introduced in Qt Mobility 1.1.

Public Functions

QString label () const
double latitude () const
double longitude () const
void setLabel ( const QString & label )
void setLatitude ( double latitude )
void setLongitude ( double longitude )

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldLabel
const QLatin1Constant FieldLatitude
const QLatin1Constant FieldLongitude
QOrganizerItemFilter match ( const QString & substring )

Detailed Description

The QOrganizerItemLocation class contains information about a location which is related to the organizer item in some manner.

Member Function Documentation

QString QOrganizerItemLocation::label () const

Returns the human-readable label of the location

This function was introduced in Qt Mobility 1.1.

See also setLabel().

double QOrganizerItemLocation::latitude () const

Returns the latitude value of the location's geocoordinates

This function was introduced in Qt Mobility 1.1.

See also setLatitude().

double QOrganizerItemLocation::longitude () const

Returns the longitude value of the location's geocoordinates

This function was introduced in Qt Mobility 1.1.

See also setLongitude().

QOrganizerItemFilter QOrganizerItemLocation::match ( const QString & substring ) [static]

Returns a filter suitable for finding items whose location matches the specified substring. This filter matches location labels only. If you wish to match against latitude or longitude co-ordinates, use a QContactDetailFilter instead.

This function was introduced in Qt Mobility 1.1.

void QOrganizerItemLocation::setLabel ( const QString & label )

Sets the human-readable label of the location to label

This function was introduced in Qt Mobility 1.1.

See also label().

void QOrganizerItemLocation::setLatitude ( double latitude )

Sets the latitude value of the location's geocoordinates to latitude

This function was introduced in Qt Mobility 1.1.

See also latitude().

void QOrganizerItemLocation::setLongitude ( double longitude )

Sets the longitude value of the location's geocoordinates to longitude

This function was introduced in Qt Mobility 1.1.

See also longitude().

Member Variable Documentation

const QLatin1Constant QOrganizerItemLocation::DefinitionName

The constant string which identifies the definition of details which describe a location associated with an organizer item.

const QLatin1Constant QOrganizerItemLocation::FieldLabel

The constant key for which the location label value is stored in details of the QOrganizerItemLocation type.

const QLatin1Constant QOrganizerItemLocation::FieldLatitude

The constant key for which the location latitude value is stored in details of the QOrganizerItemLocation type.

const QLatin1Constant QOrganizerItemLocation::FieldLongitude

The constant key for which the location longitude value is stored in details of the QOrganizerItemLocation type.

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.