Detailed Description
The QContactAddress class contains an address of a contact.
The fields in the QContactAddress class are based on the segments of the ADR property of a Versit vCard file. Versit ® is a trademark of the Internet Mail Consortium.
This leaf-class has been part of the default schema since version 1.0 of the Qt Mobility project.
Member Function Documentation
QString QContactAddress::country () const
Returns the country segment of the address stored in this detail.
See also setCountry().
QString QContactAddress::locality () const
Returns the locality segment of the address stored in this detail.
See also setLocality().
QString QContactAddress::postOfficeBox () const
Returns the post office box segment of the address stored in this detail.
See also setPostOfficeBox().
QString QContactAddress::postcode () const
Returns the postcode segment of the address stored in this detail.
See also setPostcode().
QString QContactAddress::region () const
Returns the region segment of the address stored in this detail.
See also setRegion().
void QContactAddress::setCountry ( const QString & country )
Sets the country segment of the address stored in this detail to country.
See also country().
void QContactAddress::setLocality ( const QString & locality )
Sets the locality segment of the address stored in this detail to locality.
See also locality().
void QContactAddress::setPostOfficeBox ( const QString & postOfficeBox )
Sets the post office box segment of the address stored in this detail to postOfficeBox.
See also postOfficeBox().
void QContactAddress::setPostcode ( const QString & postcode )
Sets the postcode segment of the address stored in this detail to postcode.
See also postcode().
void QContactAddress::setRegion ( const QString & region )
Sets the region segment of the address stored in this detail to region.
See also region().
void QContactAddress::setStreet ( const QString & street )
Sets the street segment of the address stored in this detail to street.
See also street().
void QContactAddress::setSubTypes ( const QStringList & subTypes )
Sets the subtypes which this detail implements to be those contained in the list of given subTypes.
See also subTypes().
void QContactAddress::setSubTypes ( const QString & subType )
Sets the subtypes which this detail implements to be just the given subType.
QString QContactAddress::street () const
Returns the street segment of the address stored in this detail.
See also setStreet().
QStringList QContactAddress::subTypes () const
Returns the list of subtypes that this detail implements.
See also setSubTypes().
Member Variable Documentation
const QLatin1Constant QContactAddress::DefinitionName
The string constant for the definition name of QContactAddress details.
const QLatin1Constant QContactAddress::FieldCountry
The field key constant for the value containing the country segment. The country segment contains the name of the country of the address.
See also country() and setCountry().
const QLatin1Constant QContactAddress::FieldLocality
The field key constant for the value containing the locality segment. The locality segment contains the name of the city, town or suburb of the address.
See also locality() and setLocality().
const QLatin1Constant QContactAddress::FieldPostOfficeBox
The field key constant for the value containing the post office box segment. The post office box segment contains the post office box identifier of the mailing address.
See also postOfficeBox() and setPostOfficeBox().
const QLatin1Constant QContactAddress::FieldPostcode
The field key constant for the value containing the postcode segment. The postcode segment contains the postal code for the address.
See also postcode() and setPostcode().
const QLatin1Constant QContactAddress::FieldRegion
The field key constant for the value containing the region segment. The region segment contains the name or identifier of the state, province or region of the address.
See also region() and setRegion().
const QLatin1Constant QContactAddress::FieldStreet
The field key constant for the value containing the street segment. The street segment contains the street number and street name of the address.
See also street() and setStreet().
const QLatin1Constant QContactAddress::FieldSubTypes
The field key constant for the field that stores the sub types of a QContactAddress.
See also subTypes() and setSubTypes().
const QLatin1Constant QContactAddress::SubTypeDomestic
The predefined string constant for a sub type value, indicating this address is an address for domestic mail delivery.
See also subTypes() and setSubTypes().
const QLatin1Constant QContactAddress::SubTypeInternational
The predefined string constant for a sub type value, indicating this address is an address for international mail delivery.
See also subTypes() and setSubTypes().
const QLatin1Constant QContactAddress::SubTypeParcel
The predefined string constant for a sub type value, indicating this address is an address for parcel delivery.
See also subTypes() and setSubTypes().
const QLatin1Constant QContactAddress::SubTypePostal
The predefined string constant for a sub type value, indicating this address is an address for postal delivery.
See also subTypes() and setSubTypes().