Changeset View
Changeset View
Standalone View
Standalone View
src/personpluginmanager.h
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Line(s) | 49 | public: | |||
---|---|---|---|---|---|
80 | 80 | | |||
81 | /** | 81 | /** | ||
82 | * Deletes a contact with the specified &p uri | 82 | * Deletes a contact with the specified &p uri | ||
83 | * @returns if it could be done successfully | 83 | * @returns if it could be done successfully | ||
84 | * | 84 | * | ||
85 | * @since 5.62 | 85 | * @since 5.62 | ||
86 | */ | 86 | */ | ||
87 | static bool deleteContact(const QString &uri); | 87 | static bool deleteContact(const QString &uri); | ||
88 | | ||||
89 | /** | ||||
90 | * Creates a contact with the specified @p properties | ||||
91 | * in the requested backend | ||||
apol: include @param | |||||
92 | * @returns if it could be done successfully | ||||
93 | * | ||||
94 | * @since 5.65 | ||||
95 | */ | ||||
96 | static bool addContact(const QString &pluginId, const QVariantMap &properties); | ||||
I wonder if that's the best API. Would it make sense to have separate setDefaultSource(QString) and addContact(QVariantMap properties). apol: I wonder if that's the best API.
Would it make sense to have separate setDefaultSource… | |||||
88 | }; | 97 | }; | ||
89 | } | 98 | } | ||
90 | 99 | | |||
91 | #endif // PERSON_PLUGIN_MANAGER_H | 100 | #endif // PERSON_PLUGIN_MANAGER_H |
include @param