Changeset View
Changeset View
Standalone View
Standalone View
src/personmanager_p.h
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Line(s) | 53 | //DATA RETRIEVAL------------ | |||
---|---|---|---|---|---|
61 | */ | 61 | */ | ||
62 | QString personUriForContact(const QString &contactUri) const; | 62 | QString personUriForContact(const QString &contactUri) const; | ||
63 | 63 | | |||
64 | /** | 64 | /** | ||
65 | * Returns a list of contactUris associated with a given person | 65 | * Returns a list of contactUris associated with a given person | ||
66 | */ | 66 | */ | ||
67 | QStringList contactsForPersonUri(const QString &personUri) const; | 67 | QStringList contactsForPersonUri(const QString &personUri) const; | ||
68 | 68 | | |||
69 | /** | ||||
70 | * Creates a contact with the specified @p properties | ||||
71 | * | ||||
72 | * @since 5.62 | ||||
73 | */ | ||||
74 | | ||||
75 | bool addContact(const QVariantMap &properties); | ||||
76 | | ||||
69 | public Q_SLOTS: | 77 | public Q_SLOTS: | ||
70 | //merge all ids (person IDs and contactUris into a single person) | 78 | //merge all ids (person IDs and contactUris into a single person) | ||
71 | //returns the ID that will be created | 79 | //returns the ID that will be created | ||
72 | //users should KPeople::mergeContacts from global.h | 80 | //users should KPeople::mergeContacts from global.h | ||
73 | QString mergeContacts(const QStringList &ids); | 81 | QString mergeContacts(const QStringList &ids); | ||
74 | 82 | | |||
75 | //unmerge a contact. Either remove a contact from a given person or remove a person | 83 | //unmerge a contact. Either remove a contact from a given person or remove a person | ||
76 | //users should KPeople::unmergeContact from global.h | 84 | //users should KPeople::unmergeContact from global.h | ||
Show All 15 Lines |