The QContactAddress class contains an address of a contact. More...
#include <QContactAddress>
Inherits: QContactDetail.
This class was introduced in Qt Mobility 1.0.
QString | country () const |
QString | extendedAddress () const |
QString | locality () const |
QString | postOfficeBox () const |
QString | postcode () const |
QString | region () const |
void | setCountry ( const QString & country ) |
void | setExtendedAddress ( const QString & extendedAddress ) |
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 |
const QLatin1Constant | DefinitionName |
const QLatin1Constant | FieldCountry |
const QLatin1Constant | FieldExtendedAddress |
const QLatin1Constant | FieldLocality |
const QLatin1Constant | FieldPostOfficeBox |
const QLatin1Constant | FieldPostcode |
const QLatin1Constant | FieldRegion |
const QLatin1Constant | FieldStreet |
const QLatin1Constant | FieldSubTypes |
const QLatin1Constant | SubTypeDomestic |
const QLatin1Constant | SubTypeInternational |
const QLatin1Constant | SubTypeParcel |
const QLatin1Constant | SubTypePostal |
QContactFilter | match ( const QString & subString ) |
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.
Returns the country segment of the address stored in this detail.
See also setCountry().
Returns the extended address segment of the address stored in this detail.
This function was introduced in Qt Mobility 1.2.2.
See also setExtendedAddress().
Returns the locality segment of the address stored in this detail.
This function was introduced in Qt Mobility 1.0.
See also setLocality().
Returns a filter suitable for finding contacts with an address which contains the given subString in any of its fields.
Returns the post office box segment of the address stored in this detail.
This function was introduced in Qt Mobility 1.0.
See also setPostOfficeBox().
Returns the postcode segment of the address stored in this detail.
This function was introduced in Qt Mobility 1.0.
See also setPostcode().
Returns the region segment of the address stored in this detail.
This function was introduced in Qt Mobility 1.0.
See also setRegion().
Sets the country segment of the address stored in this detail to country.
This function was introduced in Qt Mobility 1.0.
See also country().
Sets the extended address segment of the address stored in this detail to extendedAddress.
This function was introduced in Qt Mobility 1.2.2.
See also extendedAddress().
Sets the locality segment of the address stored in this detail to locality.
This function was introduced in Qt Mobility 1.0.
See also locality().
Sets the post office box segment of the address stored in this detail to postOfficeBox.
This function was introduced in Qt Mobility 1.0.
See also postOfficeBox().
Sets the postcode segment of the address stored in this detail to postcode.
This function was introduced in Qt Mobility 1.0.
See also postcode().
Sets the region segment of the address stored in this detail to region.
This function was introduced in Qt Mobility 1.0.
See also region().
Sets the street segment of the address stored in this detail to street.
This function was introduced in Qt Mobility 1.0.
See also street().
Sets the subtypes which this detail implements to be those contained in the list of given subTypes.
This function was introduced in Qt Mobility 1.0.
See also subTypes().
Sets the subtypes which this detail implements to be just the given subType.
This function was introduced in Qt Mobility 1.0.
Returns the street segment of the address stored in this detail.
This function was introduced in Qt Mobility 1.0.
See also setStreet().
Returns the list of subtypes that this detail implements.
This function was introduced in Qt Mobility 1.0.
See also setSubTypes().
The string constant for the definition name of QContactAddress details.
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().
The field key constant for the value containing the extended address segment. The extended address segment is optional; could contain a note, floor or room number - in general a data that is not needed for a postal letter to arrive.
See also extendedAddress() and setExtendedAddress().
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().
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().
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().
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().
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().
The field key constant for the field that stores the sub types of a QContactAddress.
See also subTypes() and setSubTypes().
The predefined string constant for a sub type value, indicating this address is an address for domestic mail delivery.
See also subTypes() and setSubTypes().
The predefined string constant for a sub type value, indicating this address is an address for international mail delivery.
See also subTypes() and setSubTypes().
The predefined string constant for a sub type value, indicating this address is an address for parcel delivery.
See also subTypes() and setSubTypes().
The predefined string constant for a sub type value, indicating this address is an address for postal delivery.
See also subTypes() and setSubTypes().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.