Public Member Functions

QctUnmergeIMContactsRequest Class Reference

Custom qtcontacts-tracker request for unmerging mashed instant messaging contacts (added by contactsd). More...

#include <unmergeimcontactsrequest.h>

List of all members.

Public Member Functions

 QctUnmergeIMContactsRequest (QObject *parent=0)
void setUnmergeOnlineAccounts (const QList< QContactOnlineAccount > &onlineAccounts)
QList< QContactOnlineAccount > unmergeOnlineAccounts () const
void setSourceContact (const QContact &contact)
QContact sourceContact () const
QList< QContactLocalId > unmergedContactIds () const

Detailed Description

Custom qtcontacts-tracker request for unmerging mashed instant messaging contacts (added by contactsd).

Note: this is EXPERIMENTAL code - will be removed as soon as API in QtMobility is defined. Try not to use it.

Use setContact() to set the source contact, and setUnmergeOnlineAccounts() to set the list of QContactOnlineAccount to detach from this contact. For each detached (unmerged) online account, a new contact will be created.

Note:
QContactAbstractRequest doesnt support extension. Instead, QctUnmergeIMContactsRequest is extending QContactSaveRequest, so QContactAbstractRequest::type() will return QContactAbstractRequest::ContactSaveRequest .

Constructor & Destructor Documentation

QctUnmergeIMContactsRequest::QctUnmergeIMContactsRequest ( QObject *  parent = 0  ) 

Constructs a new contacts merge request whose parent is the specified parent


Member Function Documentation

void QctUnmergeIMContactsRequest::setSourceContact ( const QContact &  contact  ) 

Sets contact which

See also:
unmergeOnlineAccounts() details should be unmerged to new contacts
void QctUnmergeIMContactsRequest::setUnmergeOnlineAccounts ( const QList< QContactOnlineAccount > &  onlineAccounts  ) 

Sets the criteria for unmerging -

See also:
unmergeOnlineAccounts() content realted to online contact is moved to new contact.
QContact QctUnmergeIMContactsRequest::sourceContact (  )  const

Contact which

See also:
unmergeOnlineAccounts() details should be unmerged to new contacts
QList<QContactLocalId> QctUnmergeIMContactsRequest::unmergedContactIds (  )  const

Result of operation - new contacts created containing data related to

See also:
unmergeOnlineAccounts()
QList<QContactOnlineAccount> QctUnmergeIMContactsRequest::unmergeOnlineAccounts (  )  const

The criteria for unmerging -

See also:
setUnmergeOnlineAccounts()

The documentation for this class was generated from the following file:
 All Classes Functions