93 typedef QMap<QString, Addressee>
Map;
123 bool operator==(
const Addressee & )
const;
131 bool operator!=(
const Addressee & )
const;
136 bool isEmpty()
const;
143 void setUid(
const QString &uid );
153 static QString uidLabel();
158 void setName(
const QString &name );
163 QString name()
const;
168 static QString nameLabel();
173 void setFormattedName(
const QString &formattedName );
178 QString formattedName()
const;
183 static QString formattedNameLabel();
188 void setFamilyName(
const QString &familyName );
193 QString familyName()
const;
198 static QString familyNameLabel();
203 void setGivenName(
const QString &givenName );
208 QString givenName()
const;
213 static QString givenNameLabel();
218 void setAdditionalName(
const QString &additionalName );
223 QString additionalName()
const;
228 static QString additionalNameLabel();
233 void setPrefix(
const QString &prefix );
238 QString prefix()
const;
243 static QString prefixLabel();
248 void setSuffix(
const QString &suffix );
253 QString suffix()
const;
258 static QString suffixLabel();
263 void setNickName(
const QString &nickName );
268 QString nickName()
const;
273 static QString nickNameLabel();
278 void setBirthday(
const QDateTime &birthday );
283 QDateTime birthday()
const;
288 static QString birthdayLabel();
293 static QString homeAddressStreetLabel();
298 static QString homeAddressPostOfficeBoxLabel();
303 static QString homeAddressLocalityLabel();
308 static QString homeAddressRegionLabel();
313 static QString homeAddressPostalCodeLabel();
318 static QString homeAddressCountryLabel();
323 static QString homeAddressLabelLabel();
328 static QString businessAddressStreetLabel();
333 static QString businessAddressPostOfficeBoxLabel();
338 static QString businessAddressLocalityLabel();
343 static QString businessAddressRegionLabel();
348 static QString businessAddressPostalCodeLabel();
353 static QString businessAddressCountryLabel();
358 static QString businessAddressLabelLabel();
363 static QString homePhoneLabel();
368 static QString businessPhoneLabel();
373 static QString mobilePhoneLabel();
378 static QString homeFaxLabel();
383 static QString businessFaxLabel();
388 static QString carPhoneLabel();
393 static QString isdnLabel();
398 static QString pagerLabel();
403 static QString emailLabel();
408 void setMailer(
const QString &mailer );
413 QString mailer()
const;
418 static QString mailerLabel();
423 void setTimeZone(
const TimeZone &timeZone );
433 static QString timeZoneLabel();
438 void setGeo(
const Geo &geo );
448 static QString geoLabel();
453 void setTitle(
const QString &title );
458 QString title()
const;
463 static QString titleLabel();
468 void setRole(
const QString &role );
473 QString role()
const;
478 static QString roleLabel();
483 void setOrganization(
const QString &organization );
488 QString organization()
const;
493 static QString organizationLabel();
498 void setDepartment(
const QString &department );
503 QString department()
const;
508 static QString departmentLabel();
513 void setNote(
const QString ¬e );
518 QString note()
const;
523 static QString noteLabel();
528 void setProductId(
const QString &productId );
533 QString productId()
const;
538 static QString productIdLabel();
543 void setRevision(
const QDateTime &revision );
548 QDateTime revision()
const;
553 static QString revisionLabel();
558 void setSortString(
const QString &sortString );
563 QString sortString()
const;
568 static QString sortStringLabel();
573 void setUrl(
const KUrl &url );
583 static QString urlLabel();
588 void setSecrecy(
const Secrecy &secrecy );
593 Secrecy secrecy()
const;
598 static QString secrecyLabel();
603 void setLogo(
const Picture &logo );
613 static QString logoLabel();
618 void setPhoto(
const Picture &photo );
628 static QString photoLabel();
633 void setSound(
const Sound &sound );
643 static QString soundLabel();
650 void setNameFromString(
const QString & );
656 QString realName()
const;
661 QString assembledName()
const;
669 QString fullEmail(
const QString &email=QString() )
const;
679 void insertEmail(
const QString &email,
bool preferred=
false );
686 void removeEmail(
const QString &email );
692 QString preferredEmail()
const;
697 QStringList emails()
const;
704 void setEmails(
const QStringList& list);
705 void setEmailList(
const Email::List &list);
712 void insertPhoneNumber(
const PhoneNumber &phoneNumber );
720 void removePhoneNumber(
const PhoneNumber &phoneNumber );
727 PhoneNumber phoneNumber( PhoneNumber::Type type )
const;
747 PhoneNumber findPhoneNumber(
const QString &
id )
const;
755 void insertKey(
const Key &key );
763 void removeKey(
const Key &key );
775 Key key(
Key::Type type, QString customTypeString = QString() )
const;
805 Key findKey(
const QString &
id )
const;
813 void insertAddress(
const Address &address );
821 void removeAddress(
const Address &address );
828 Address address( Address::Type type )
const;
847 Address findAddress(
const QString &
id )
const;
852 void insertCategory(
const QString & );
857 void removeCategory(
const QString & );
862 bool hasCategory(
const QString & )
const;
867 void setCategories(
const QStringList & );
872 QStringList categories()
const;
886 void insertCustom(
const QString &app,
const QString &name,
887 const QString &value );
895 void removeCustom(
const QString &app,
const QString &name );
903 QString custom(
const QString &app,
const QString &name )
const;
908 void setCustoms(
const QStringList & );
916 QStringList customs()
const;
925 static void parseEmailAddress(
const QString &rawEmail, QString &fullName,
931 QString toString()
const;
933#ifndef KDEPIM_NO_KRESOURCES
939 void setResource(
Resource *resource );
952 void setChanged(
bool value );
957 bool changed()
const;
976 bool operator< (
const Addressee &addr )
const;
981 static QString mimeType();
984 void insertEmail(
const QString &email,
bool preferred,
const QMap<QString, QStringList> ¶m);
986 KABC::Email::List emailList()
const;
988 void removeLang(
const QString &language);
989 void insertLang(
const Lang &language);
990 void setLangs(
const Lang::List &langs);
991 Lang::List langs()
const;
993 void setGender(
const KABC::Gender &gender);
994 KABC::Gender gender()
const;
996 QString kind()
const;
997 void setKind(
const QString &kind);
999 void insertCalendarUrl(
const KABC::CalendarUrl &calendarUrl);
1003 void setExtraSoundList(
const KABC::Sound::List &soundList);
1004 KABC::Sound::List extraSoundList()
const;
1007 void setExtraPhotoList(
const KABC::Picture::List &pictureList);
1008 KABC::Picture::List extraPhotoList()
const;
1011 void setExtraLogoList(
const KABC::Picture::List &logoList);
1012 KABC::Picture::List extraLogoList()
const;
1015 QList<KUrl> extraUrlList()
const;
1016 void setExtraUrlList(
const QList<KUrl> &urlList);
1017 void insertExtraUrl(
const KUrl &url);
1020 void insertMember(
const QString &member);
1021 void setMembers(
const QStringList &c);
1022 QStringList members()
const;
1024 void insertRelationShip(
const QString &related);
1025 void setRelationShips(
const QStringList &c);
1026 QStringList relationShips()
const;
1028 void insertSourceUrl(
const KUrl &url);
1029 void setSourcesUrlList(
const QList<KUrl> &urlList);
1030 QList<KUrl> sourcesUrlList()
const;
1033 QSharedDataPointer<Private> d;