Changeset View
Changeset View
Standalone View
Standalone View
src/address.h
Show First 20 Lines • Show All 297 Lines • ▼ Show 20 Line(s) | 291 | /** | |||
---|---|---|---|---|---|
298 | @param realName the formatted name of the contact | 298 | @param realName the formatted name of the contact | ||
299 | @param orgaName the name of the organization or company | 299 | @param orgaName the name of the organization or company | ||
300 | @return the formatted address (containing newline characters) | 300 | @return the formatted address (containing newline characters) | ||
301 | */ | 301 | */ | ||
302 | QString formattedAddress(const QString &realName = QString(), const QString &orgaName = QString()) const; | 302 | QString formattedAddress(const QString &realName = QString(), const QString &orgaName = QString()) const; | ||
303 | 303 | | |||
304 | /** | 304 | /** | ||
305 | Returns ISO code for a localized country name. Only localized country | 305 | Returns ISO code for a localized country name. Only localized country | ||
306 | names will be understood. This might be replaced by a KLocale method in | 306 | names will be understood. | ||
307 | the future. | | |||
308 | @param cname name of the country | 307 | @param cname name of the country | ||
309 | @return two digit ISO code | 308 | @return two digit ISO code, empty string if the country was not | ||
309 | recognized | ||||
310 | */ | 310 | */ | ||
311 | static QString countryToISO(const QString &cname); | 311 | static QString countryToISO(const QString &cname); | ||
312 | 312 | | |||
313 | /** | 313 | /** | ||
314 | Returns a localized country name for a ISO code. | 314 | Returns a localized country name for a ISO code. | ||
315 | This might be replaced by a KLocale method in the future. | 315 | This might be replaced by a KLocale method in the future. | ||
316 | @param ISOname two digit ISO code | 316 | @param ISOname two digit ISO code | ||
317 | @return localized name of the country | 317 | @return localized name of the country | ||
Show All 34 Lines |