equal
deleted
inserted
replaced
539 d->m_error = QContactManager::NoError; |
539 d->m_error = QContactManager::NoError; |
540 return d->m_engine->removeContacts(contactIds, errorMap, &d->m_error); |
540 return d->m_engine->removeContacts(contactIds, errorMap, &d->m_error); |
541 } |
541 } |
542 |
542 |
543 /*! |
543 /*! |
544 \preliminary |
|
545 Returns a pruned or modified version of the \a original contact which is valid and can be saved in the manager. |
544 Returns a pruned or modified version of the \a original contact which is valid and can be saved in the manager. |
546 The returned contact might have entire details removed or arbitrarily changed. The cache of relationships |
545 The returned contact might have entire details removed or arbitrarily changed. The cache of relationships |
547 in the contact are ignored entirely when considering compatibility with the backend, as they are |
546 in the contact are ignored entirely when considering compatibility with the backend, as they are |
548 saved and validated separately. |
547 saved and validated separately. |
549 |
|
550 This function is preliminary and the behaviour is subject to change! |
|
551 */ |
548 */ |
552 QContact QContactManager::compatibleContact(const QContact& original) |
549 QContact QContactManager::compatibleContact(const QContact& original) |
553 { |
550 { |
554 d->m_error = QContactManager::NoError; |
551 d->m_error = QContactManager::NoError; |
555 return d->m_engine->compatibleContact(original, &d->m_error); |
552 return d->m_engine->compatibleContact(original, &d->m_error); |