Member Function Documentation
QGeoAddress::QGeoAddress ()
Default constructor.
QGeoAddress::QGeoAddress ( const QGeoAddress & other )
Constructs a copy of other.
This function was introduced in Qt Mobility 1.1.
QGeoAddress::~QGeoAddress ()
Destroys this address.
QString QGeoAddress::city () const
Returns the city.
This function was introduced in Qt Mobility 1.1.
See also setCity().
void QGeoAddress::clear ()
Clears the all the address' data fields.
This function was introduced in Qt Mobility 1.1.
QString QGeoAddress::country () const
Returns the country name.
This function was introduced in Qt Mobility 1.1.
See also setCountry().
QString QGeoAddress::countryCode () const
Returns the country code according to ISO 3166-1 alpha-3
This function was introduced in Qt Mobility 1.1.
See also setCountryCode().
QString QGeoAddress::county () const
Returns the county. The county is considered the second subdivision below country.
This function was introduced in Qt Mobility 1.1.
See also setCounty().
QString QGeoAddress::district () const
Returns the district. The district is considered the subdivison below city.
This function was introduced in Qt Mobility 1.1.
See also setDistrict().
bool QGeoAddress::isEmpty () const
Returns whether this address is empty. An address is considered empty if all of its fields are empty.
This function was introduced in Qt Mobility 1.1.
QString QGeoAddress::postcode () const
Returns the post code.
This function was introduced in Qt Mobility 1.1.
See also setPostcode().
void QGeoAddress::setCity ( const QString & city )
Sets the city.
This function was introduced in Qt Mobility 1.1.
See also city().
void QGeoAddress::setCountry ( const QString & country )
Sets the country name.
This function was introduced in Qt Mobility 1.1.
See also country().
void QGeoAddress::setCountryCode ( const QString & countryCode )
Sets the countryCode according to ISO 3166-1 alpha-3
This function was introduced in Qt Mobility 1.1.
See also countryCode().
void QGeoAddress::setCounty ( const QString & county )
Sets the county.
This function was introduced in Qt Mobility 1.1.
See also county().
void QGeoAddress::setDistrict ( const QString & district )
Sets the district.
This function was introduced in Qt Mobility 1.1.
See also district().
void QGeoAddress::setPostcode ( const QString & postcode )
Sets the postcode.
This function was introduced in Qt Mobility 1.1.
See also postcode().
void QGeoAddress::setState ( const QString & state )
Sets the state.
This function was introduced in Qt Mobility 1.1.
See also state().
void QGeoAddress::setStreet ( const QString & street )
Sets the street-level component of the address to street.
This typically includes a street number and street name but may also contain things like a unit number, a building name, or anything else that might be used to distinguish one address from another.
This function was introduced in Qt Mobility 1.1.
See also street().
QString QGeoAddress::state () const
Returns the state. The state is considered the first subdivision below country.
This function was introduced in Qt Mobility 1.1.
See also setState().
QString QGeoAddress::street () const
Returns the street-level component of the address.
This typically includes a street number and street name but may also contain things like a unit number, a building name, or anything else that might be used to distinguish one address from another.
This function was introduced in Qt Mobility 1.1.
See also setStreet().
bool QGeoAddress::operator!= ( const QGeoAddress & other ) const
Returns true if this address is not equal to other, otherwise returns false.
This function was introduced in Qt Mobility 1.1.
QGeoAddress & QGeoAddress::operator= ( const QGeoAddress & address )
Assigns the given address to this address and returns a reference to this address.
This function was introduced in Qt Mobility 1.1.
bool QGeoAddress::operator== ( const QGeoAddress & other ) const
Returns true if this address is equal to other, otherwise returns false.
This function was introduced in Qt Mobility 1.1.