Changeset View
Changeset View
Standalone View
Standalone View
src/backends/abstractcontact.h
Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Line(s) | 47 | // well-known properties | |||
---|---|---|---|---|---|
69 | static const QString PictureProperty; | 69 | static const QString PictureProperty; | ||
70 | 70 | | |||
71 | /** QVariantList property that lists the groups the contacts belongs to */ | 71 | /** QVariantList property that lists the groups the contacts belongs to */ | ||
72 | static const QString GroupsProperty; | 72 | static const QString GroupsProperty; | ||
73 | 73 | | |||
74 | /** QVariantList property that lists the emails the contact has */ | 74 | /** QVariantList property that lists the emails the contact has */ | ||
75 | static const QString AllEmailsProperty; | 75 | static const QString AllEmailsProperty; | ||
76 | 76 | | |||
77 | /** KContact::PhoneNumber property representing the phone number and releated information of a contact */ | ||||
78 | static const QString KContactPhoneNumberProperty; | ||||
79 | | ||||
80 | /** | ||||
81 | * KContact::PhoneNumber::List (aka. QVector<PhoneNumber>) property that accesses all phone | ||||
82 | * numbers of the contact as KContact::PhoneNumber | ||||
83 | */ | ||||
84 | static const QString KContactAllPhoneNumbersProperty; | ||||
85 | | ||||
77 | /** | 86 | /** | ||
78 | * Generic method to access a random contact property | 87 | * Generic method to access a random contact property | ||
79 | * | 88 | * | ||
80 | * @returns the value for the @p key property. | 89 | * @returns the value for the @p key property. | ||
81 | */ | 90 | */ | ||
82 | virtual QVariant customProperty(const QString &key) const = 0; | 91 | virtual QVariant customProperty(const QString &key) const = 0; | ||
83 | 92 | | |||
84 | private: | 93 | private: | ||
Show All 9 Lines |