Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QContactAddress Class Reference
[QtMessagingModule, QtPimModule, QtTelephonyModule, QtUiModule]

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

    #include <QContactAddress>

Public Functions

Public Variables


Detailed Description

The QContactAddress class contains an address of a QContact.

The address is split into a number of fields:

It also provides two functions - isEmpty() and operator==().

See also QContact and Pim Library.


Member Function Documentation

bool QContactAddress::isEmpty () const

Returns true if this address is empty (all the fields are empty), and false otherwise.

bool QContactAddress::operator== ( const QContactAddress & other ) const

Returns true if this address is the same as the other address, and false otherwise.


Member Variable Documentation

QString QContactAddress::city

This variable holds the city portion of this address.

QString QContactAddress::country

This variable holds the country portion of this address.

QString QContactAddress::state

This variable holds the state portion of this address This would typically be something like "MA", or "Queensland".

QString QContactAddress::street

This variable holds the street address portion of this address This would typically be something like "123 Penny Lane" or "Level 5, 123 Wharf St.".

QString QContactAddress::zip

This variable holds the postal code portion of this address This would typically be something like "90210" or "SW1234".


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3