kabc
addressee.h
984 void insertEmail(const QString &email, bool preferred, const QMap<QString, QStringList> ¶m);
a QValueList of Addressee, with sorting functionality
Definition addresseelist.h:289
static QString businessAddressRegionLabel()
Return translated label for businessAddressRegion field.
Definition addressee.cpp:790
static QString sortStringLabel()
Return translated label for sortString field.
Definition addressee.cpp:1082
bool hasCategory(const QString &) const
Return, if addressee has the given category.
Definition addressee.cpp:1911
static QString businessAddressPostOfficeBoxLabel()
Return translated label for businessAddressPostOfficeBox field.
Definition addressee.cpp:778
static QString homeAddressPostalCodeLabel()
Return translated label for homeAddressPostalCode field.
Definition addressee.cpp:754
static QString givenNameLabel()
Return translated label for givenName field.
Definition addressee.cpp:624
void setAdditionalName(const QString &additionalName)
Set additional names.
Definition addressee.cpp:630
void removePhoneNumber(const PhoneNumber &phoneNumber)
Remove phone number.
Definition addressee.cpp:1540
static QString additionalNameLabel()
Return translated label for additionalName field.
Definition addressee.cpp:644
static QString organizationLabel()
Return translated label for organization field.
Definition addressee.cpp:982
void insertPhoneNumber(const PhoneNumber &phoneNumber)
Insert a phone number.
Definition addressee.cpp:1525
static QString homeAddressPostOfficeBoxLabel()
Return translated label for homeAddressPostOfficeBox field.
Definition addressee.cpp:736
void insertCustom(const QString &app, const QString &name, const QString &value)
Insert custom entry.
Definition addressee.cpp:1928
static QString businessAddressLabelLabel()
Return translated label for businessAddressLabel field.
Definition addressee.cpp:808
void setNameFromString(const QString &)
Set name fields by parsing the given string and trying to associate the parts of the string with acco...
Definition addressee.cpp:1188
static QString businessAddressStreetLabel()
Return translated label for businessAddressStreet field.
Definition addressee.cpp:772
static QString businessAddressLocalityLabel()
Return translated label for businessAddressLocality field.
Definition addressee.cpp:784
QString custom(const QString &app, const QString &name) const
Return value of custom entry, identified by app and entry name.
Definition addressee.cpp:1949
static QString homeAddressCountryLabel()
Return translated label for homeAddressCountry field.
Definition addressee.cpp:760
static QString secrecyLabel()
Return translated label for secrecy field.
Definition addressee.cpp:1122
static QString homePhoneLabel()
Return translated label for homePhone field.
Definition addressee.cpp:814
static QString homeAddressLabelLabel()
Return translated label for homeAddressLabel field.
Definition addressee.cpp:766
QString toString() const
Returns string representation of the addressee.
Definition addressee.cpp:1691
static QString businessAddressPostalCodeLabel()
Return translated label for businessAddressPostalCode field.
Definition addressee.cpp:796
static QString carPhoneLabel()
Return translated label for carPhone field.
Definition addressee.cpp:844
Address address(Address::Type type) const
Return address, which matches the given type.
Definition addressee.cpp:1802
static QString homeAddressStreetLabel()
Return translated label for homeAddressStreet field.
Definition addressee.cpp:730
PhoneNumber phoneNumber(PhoneNumber::Type type) const
Return phone number, which matches the given type.
Definition addressee.cpp:1551
static void parseEmailAddress(const QString &rawEmail, QString &fullName, QString &email)
Parse full email address.
Definition addressee.cpp:1987
void insertEmail(const QString &email, bool preferred=false)
Insert an email address.
Definition addressee.cpp:1420
static QString timeZoneLabel()
Return translated label for timeZone field.
Definition addressee.cpp:902
void removeCustom(const QString &app, const QString &name)
Remove custom entry.
Definition addressee.cpp:1942
QString assembledName() const
Return the name that consists of all name parts.
Definition addressee.cpp:1357
QString fullEmail(const QString &email=QString()) const
Return email address including real name.
Definition addressee.cpp:1368
static QString homeAddressLocalityLabel()
Return translated label for homeAddressLocality field.
Definition addressee.cpp:742
static QString birthdayLabel()
Return translated label for birthday field.
Definition addressee.cpp:724
static void setSortMode(KABC::SortMode *mode)
Sets the sort mode implementation.
Definition addressee.cpp:2168
void setResource(Resource *resource)
Set resource where the addressee is from.
Definition addressee.cpp:2147
static QString businessPhoneLabel()
Return translated label for businessPhone field.
Definition addressee.cpp:820
static QString revisionLabel()
Return translated label for revision field.
Definition addressee.cpp:1062
static QString businessAddressCountryLabel()
Return translated label for businessAddressCountry field.
Definition addressee.cpp:802
static QString homeAddressRegionLabel()
Return translated label for homeAddressRegion field.
Definition addressee.cpp:748
static QString departmentLabel()
Return translated label for department field.
Definition addressee.cpp:1002
Address findAddress(const QString &id) const
Return address with the given id.
Definition addressee.cpp:1840
static QString familyNameLabel()
Return translated label for familyName field.
Definition addressee.cpp:604
static QString nickNameLabel()
Return translated label for nickName field.
Definition addressee.cpp:704
static QString productIdLabel()
Return translated label for productId field.
Definition addressee.cpp:1042
PhoneNumber findPhoneNumber(const QString &id) const
Return phone number with the given id.
Definition addressee.cpp:1587
static QString mobilePhoneLabel()
Return translated label for mobilePhone field.
Definition addressee.cpp:826
static QString formattedNameLabel()
Return translated label for formattedName field.
Definition addressee.cpp:584
PhoneNumber::List phoneNumbers() const
Return list of all phone numbers.
Definition addressee.cpp:1568
static QString businessFaxLabel()
Return translated label for businessFax field.
Definition addressee.cpp:838
Key key(Key::Type type, QString customTypeString=QString()) const
Return key, which matches the given type.
Definition addressee.cpp:1624
Definition resource.h:65
QDataStream & operator<<(QDataStream &stream, const Address &address)
Serializes the address object into the stream.
Definition address.cpp:680
QDataStream & operator>>(QDataStream &stream, Address &address)
Initializes the address object from the stream.
Definition address.cpp:688
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.