Qt Mobility 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.


Public Functions

QString address () const
QString geoLocation () const
QString locationName () const
void setAddress ( const QString & address )
void setGeoLocation ( const QString & stringCoords )
void setLocationName ( const QString & locationName )

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldAddress
const QLatin1Constant FieldGeoLocation
const QLatin1Constant FieldLocationName
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::address () const

Returns a string of address name.

See also setAddress().

QString QOrganizerItemLocation::geoLocation () const

Returns a string of geolication value.

See also setGeoLocation().

QString QOrganizerItemLocation::locationName () const

Returns a string of location name.

See also setLocationName().

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

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

void QOrganizerItemLocation::setAddress ( const QString & address )

Sets address name to address.

See also address().

void QOrganizerItemLocation::setGeoLocation ( const QString & stringCoords )

Sets geolication value to stringCoords.

See also geoLocation().

void QOrganizerItemLocation::setLocationName ( const QString & locationName )

Sets location name to locationName.

See also locationName().


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::FieldAddress

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

const QLatin1Constant QOrganizerItemLocation::FieldGeoLocation

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

const QLatin1Constant QOrganizerItemLocation::FieldLocationName

The constant key for which the location label 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.