|
|
typedef QValueList List | List |
List of addresses.
enum Type { Dom = 1, Intl = 2, Postal = 4, Parcel = 8, Home = 16, Work = 32, Pref = 64 } | Type |
Address type: Dom domestic Intl international postal postal parcel parcel home home address work address at work pref preferred address
Address ()
| Address |
Construct an empty address. It is initialized with a unique id (@see id()).
Address ( int )
| Address |
Construct an empty address of the given type. It is initialized with a n unique id (@see id()).
bool isEmpty ()
| isEmpty |
[const]
Return, if the address is empty.
void clear ()
| clear |
Clear all entries of the address.
void setId ( const QString & )
| setId |
Set unique id.
QString id ()
| id |
[const]
void setType ( int type )
| setType |
Set type of address. See enum for definiton of types.
Parameters:
type | type, can be a bitwise or of multiple types. |
int type ()
| type |
[const]
Return type of address. Can be a bitwise or of multiple types.
void setPostOfficeBox ( const QString & )
| setPostOfficeBox |
Set post office box.
QString postOfficeBox ()
| postOfficeBox |
[const]
Return post office box.
void setExtended ( const QString & )
| setExtended |
Set extended address information.
QString extended ()
| extended |
[const]
Return extended address information.
void setStreet ( const QString & )
| setStreet |
Set street (including number).
QString street ()
| street |
[const]
Return street.
void setLocality ( const QString & )
| setLocality |
Set locality, e.g. city.
QString locality ()
| locality |
[const]
Return locality.
void setRegion ( const QString & )
| setRegion |
Set region, e.g. state.
QString region ()
| region |
[const]
Return region.
void setPostalCode ( const QString & )
| setPostalCode |
Set postal code.
QString postalCode ()
| postalCode |
[const]
Return postal code.
void setCountry ( const QString & )
| setCountry |
Set country.
QString country ()
| country |
[const]
Return country.
void setLabel ( const QString & )
| setLabel |
Set delivery label. This is the literal text to be used as label.
QString label ()
| label |
[const]
Return delivery label.
void dump ()
| dump |
[const]
Debug output.
Generated by: hany on w1.md.megaloman.sk on Tue Aug 12 15:46:45 2003, using kdoc 2.0a54. |