Home · All Classes · All Functions ·

QContactAddress Class Reference

The QContactAddress class contains an address of a contact. More...

    #include <QContactAddress>

Inherits QContactDetail.


Public Functions

QString country () const
QString locality () const
QString postOfficeBox () const
QString postcode () const
QString region () const
void setCountry ( const QString & country )
void setLocality ( const QString & locality )
void setPostOfficeBox ( const QString & postOfficeBox )
void setPostcode ( const QString & postcode )
void setRegion ( const QString & region )
void setStreet ( const QString & street )
void setSubTypes ( const QStringList & subTypes )
void setSubTypes ( const QString & subType )
QString street () const
QStringList subTypes () const

Public Variables

const char * DefinitionName
const char * FieldCountry
const char * FieldLocality
const char * FieldPostOfficeBox
const char * FieldPostcode
const char * FieldRegion
const char * FieldStreet
const char * FieldSubTypes
const char * SubTypeDomestic
const char * SubTypeInternational
const char * SubTypeParcel
const char * SubTypePostal

Additional Inherited Members


Detailed Description

The QContactAddress class contains an address of a contact.


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 char * QContactAddress::DefinitionName

The constant string which identifies the definition of details which are street addresses.

const char * QContactAddress::FieldCountry

The constant key for which the country value is stored in details of the QContactAddress type.

const char * QContactAddress::FieldLocality

The constant key for which the locality value is stored in details of the QContactAddress type.

const char * QContactAddress::FieldPostOfficeBox

The constant key for which the post office box value is stored in details of the QContactAddress type.

const char * QContactAddress::FieldPostcode

The constant key for which the postcode value is stored in details of the QContactAddress type.

const char * QContactAddress::FieldRegion

The constant key for which the region value is stored in details of the QContactAddress type.

const char * QContactAddress::FieldStreet

The constant key for which the street value is stored in details of the QContactAddress type.

const char * QContactAddress::FieldSubTypes

The constant key for which the subtypes value is stored in details of the QContactAddress type.

const char * QContactAddress::SubTypeDomestic

The constant attribute value which describes the address as being a domestic address.

const char * QContactAddress::SubTypeInternational

The constant attribute value which describes the address as being an international address.

const char * QContactAddress::SubTypeParcel

The constant attribute value which describes the address as being an address for parcel delivery.

const char * QContactAddress::SubTypePostal

The constant attribute value which describes the address as being an address for postal delivery.


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