46 typedef QList<Address>
List;
61 Q_DECLARE_FLAGS( Type, TypeFlag )
94 bool operator==( const
Address &addr ) const;
102 bool operator!=( const
Address &addr ) const;
115 bool isEmpty() const;
125 void setId( const QString &identifier );
137 void setType( Type type );
147 QString typeLabel() const;
152 void setPostOfficeBox( const QString &postOfficeBox );
157 QString postOfficeBox() const;
162 static QString postOfficeBoxLabel();
167 void setExtended( const QString &extended );
172 QString extended() const;
177 static QString extendedLabel();
182 void setStreet( const QString &street );
187 QString street() const;
192 static QString streetLabel();
199 void setLocality( const QString &locality );
204 QString locality() const;
209 static QString localityLabel();
216 void setRegion( const QString ®ion );
221 QString region() const;
226 static QString regionLabel();
231 void setPostalCode( const QString &code );
236 QString postalCode() const;
241 static QString postalCodeLabel();
246 void setCountry( const QString &country );
251 QString country() const;
256 static QString countryLabel();
263 void setLabel( const QString &label );
268 QString label() const;
273 static QString labelLabel();
283 static QString typeLabel( Type type );
288 QString toString() const;
301 QString formattedAddress( const QString &realName = QString(),
302 const QString &orgaName = QString() ) const;
311 static QString countryToISO( const QString &cname );
319 static QString ISOtoCountry( const QString &ISOname );
323 QSharedDataPointer<Private> d;