QGeoAddress Class Reference
The QGeoAddress class represents an address More...
#include <QGeoAddress>
Public Functions
Detailed Description
The QGeoAddress class represents an address
This class represents an address of a location.
Member Function Documentation
QGeoAddress::QGeoAddress ()
Default constructor.
QGeoAddress::QGeoAddress ( const QGeoAddress & other )
Constructs a copy of other.
QGeoAddress::~QGeoAddress ()
Destroys the address
QString QGeoAddress::city () const
Returns the city.
See also setCity().
void QGeoAddress::clear ()
Clears the all the address' data fields.
QString QGeoAddress::country () const
Returns the country name according to ISO 3166-1 alpha-3
See also setCountry().
QString QGeoAddress::countryCode () const
Returns the country code according to ISO 3166-1 alpha-3
See also setCountryCode().
QString QGeoAddress::county () const
Returns the county.
See also setCounty().
QString QGeoAddress::district () const
Returns the district.
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.
QString QGeoAddress::postCode () const
Returns the post code.
See also setPostCode().
QString QGeoAddress::postOfficeBox () const
Returns the post office box.
See also setPostOfficeBox().
void QGeoAddress::setCity ( const QString & city )
Sets the city.
See also city().
void QGeoAddress::setCountry ( const QString & country )
Sets the country name according to ISO 3166-1 alpha-3
See also country().
void QGeoAddress::setCountryCode ( const QString & countryCode )
Sets the countryCode according to ISO 3166-1 alpha-3
See also countryCode().
void QGeoAddress::setCounty ( const QString & county )
Sets the county.
See also county().
void QGeoAddress::setDistrict ( const QString & district )
Sets the district.
See also district().
void QGeoAddress::setPostCode ( const QString & postCode )
Sets the postCode.
See also postCode().
void QGeoAddress::setPostOfficeBox ( const QString & postOfficeBox )
Sets the postOfficeBox.
See also postOfficeBox().
void QGeoAddress::setState ( const QString & state )
Sets the state.
See also state().
void QGeoAddress::setThoroughfareName ( const QString & thoroughfareName )
Sets the thoroughfareName.
See also thoroughfareName().
void QGeoAddress::setThoroughfareNumber ( const QString & thoroughfareNumber )
Sets the thoroughfareNumber.
See also thoroughfareNumber().
QString QGeoAddress::state () const
Returns the state.
See also setState().
QString QGeoAddress::thoroughfareName () const
Returns the thoroughfare name.
See also setThoroughfareName().
QString QGeoAddress::thoroughfareNumber () const
Returns the thoroughfare number.
See also setThoroughfareNumber().
bool QGeoAddress::operator!= ( const QGeoAddress & other ) const
Returns true if this address is not equal to other, otherwise returns false.
QGeoAddress & QGeoAddress::operator= ( const QGeoAddress & address )
Assigns the given address to this address and returns a reference to this address.
bool QGeoAddress::operator== ( const QGeoAddress & other ) const
Returns true if this address is equal to other, otherwise returns false.