The QGeoAddress class represents an address More...
#include <QGeoAddress>
This class was introduced in Qt Mobility 1.1.
QGeoAddress () | |
QGeoAddress ( const QGeoAddress & other ) | |
~QGeoAddress () | |
QString | city () const |
void | clear () |
QString | country () const |
QString | countryCode () const |
QString | county () const |
QString | district () const |
bool | isEmpty () const |
QString | postcode () const |
void | setCity ( const QString & city ) |
void | setCountry ( const QString & country ) |
void | setCountryCode ( const QString & countryCode ) |
void | setCounty ( const QString & county ) |
void | setDistrict ( const QString & district ) |
void | setPostcode ( const QString & postcode ) |
void | setState ( const QString & state ) |
void | setStreet ( const QString & street ) |
QString | state () const |
QString | street () const |
bool | operator!= ( const QGeoAddress & other ) const |
QGeoAddress & | operator= ( const QGeoAddress & address ) |
bool | operator== ( const QGeoAddress & other ) const |
The QGeoAddress class represents an address
This class represents an address of a location.
Default constructor.
Constructs a copy of other.
This function was introduced in Qt Mobility 1.1.
Destroys this address.
Returns the city.
This function was introduced in Qt Mobility 1.1.
See also setCity().
Clears the all the address' data fields.
This function was introduced in Qt Mobility 1.1.
Returns the country name.
This function was introduced in Qt Mobility 1.1.
See also setCountry().
Returns the country code according to ISO 3166-1 alpha-3
This function was introduced in Qt Mobility 1.1.
See also setCountryCode().
Returns the county. The county is considered the second subdivision below country.
This function was introduced in Qt Mobility 1.1.
See also setCounty().
Returns the district. The district is considered the subdivison below city.
This function was introduced in Qt Mobility 1.1.
See also setDistrict().
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.
Returns the post code.
This function was introduced in Qt Mobility 1.1.
See also setPostcode().
Sets the city.
This function was introduced in Qt Mobility 1.1.
See also city().
Sets the country name.
This function was introduced in Qt Mobility 1.1.
See also country().
Sets the countryCode according to ISO 3166-1 alpha-3
This function was introduced in Qt Mobility 1.1.
See also countryCode().
Sets the county.
This function was introduced in Qt Mobility 1.1.
See also county().
Sets the district.
This function was introduced in Qt Mobility 1.1.
See also district().
Sets the postcode.
This function was introduced in Qt Mobility 1.1.
See also postcode().
Sets the state.
This function was introduced in Qt Mobility 1.1.
See also state().
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().
Returns the state. The state is considered the first subdivision below country.
This function was introduced in Qt Mobility 1.1.
See also setState().
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().
Returns true if this address is not equal to other, otherwise returns false.
This function was introduced in Qt Mobility 1.1.
Assigns the given address to this address and returns a reference to this address.
This function was introduced in Qt Mobility 1.1.
Returns true if this address is equal to other, otherwise returns false.
This function was introduced in Qt Mobility 1.1.