#include <address.h>
Public Types | |
| typedef QValueList< Address > | List |
| enum | Type |
Public Methods | |
| Address () | |
| Address (int) | |
| bool | isEmpty () const |
| void | clear () |
| void | setId (const QString &) |
| void | setType (int type) |
| int | type () const |
| QString | typeLabel () const |
| void | setPostOfficeBox (const QString &) |
| QString | postOfficeBox () const |
| void | setExtended (const QString &) |
| QString | extended () const |
| void | setStreet (const QString &) |
| QString | street () const |
| void | setLocality (const QString &) |
| QString | locality () const |
| void | setRegion (const QString &) |
| QString | region () const |
| void | setPostalCode (const QString &) |
| QString | postalCode () const |
| void | setCountry (const QString &) |
| QString | country () const |
| void | setLabel (const QString &) |
| QString | label () const |
| void | dump () const |
Static Public Methods | |
| QString | postOfficeBoxLabel () |
| QString | extendedLabel () |
| QString | streetLabel () |
| QString | localityLabel () |
| QString | regionLabel () |
| QString | postalCodeLabel () |
| QString | countryLabel () |
| QString | labelLabel () |
| TypeList | typeList () |
| QString | typeLabel (int type) |
This class represents information about a postal address.
Definition at line 34 of file address.h.
|
|
List of addresses. |
|
|
Address types:
|
|
|
Constructor that creates an empty Address, which is initialized with a unique id (see id()). |
|
|
This is like Address() just above, with the difference that you can specify the type. |
|
|
Clears all entries of the address. |
|
|
Returns the country. |
|
|
Returns the translated label for country field. |
|
|
Used for debug output. |
|
|
Returns the extended address information. |
|
|
Returns the translated label for extended field. |
|
|
Returns true, if the address is empty. |
|
|
Returns the delivery label. |
|
|
Returns the translated label for delivery label field. |
|
|
Returns the locality. |
|
|
Returns the translated label for locality field. |
|
|
Returns the postal code. |
|
|
Returns the translated label for postal code field. |
|
|
Returns the post office box. |
|
|
Returns the translated label for post office box field. |
|
|
Returns the region. |
|
|
Returns the translated label for region field. |
|
|
Sets the country. |
|
|
Sets the extended address information. |
|
|
Sets the unique id. |
|
|
Sets the delivery label. This is the literal text to be used as label. |
|
|
Sets the locality, e.g. city. |
|
|
Sets the postal code. |
|
|
Sets the post office box. |
|
|
Sets the region, e.g. state. |
|
|
Sets the street (including number). |
|
|
Sets the type of address. See enum for definiton of types.
|
|
|
Returns the street. |
|
|
Returns the translated label for street field. |
|
|
Returns the type of address. Can be a bitwise or of multiple types. |
|
|
Returns the translated label for a special type. |
|
|
Returns a translated string of all types the address has. |
|
|
Returns the list of available types. |
1.2.18