QtMobility Reference Documentation

QContactRemoveRequest Class Reference

The QContactRemoveRequest class allows a client to asynchronously request that certain contacts be removed from a contacts store. More...

 #include <QContactRemoveRequest>

Inherits: QContactAbstractRequest.

This class was introduced in Qt Mobility 1.0.

Public Functions

QContactRemoveRequest ( QObject * parent = 0 )
~QContactRemoveRequest ()
QList<QContactLocalId> contactIds () const
QMap<int, QContactManager::Error> errorMap () const
void setContactId ( const QContactLocalId & contactId )
void setContactIds ( const QList<QContactLocalId> & contactIds )

Additional Inherited Members

Detailed Description

The QContactRemoveRequest class allows a client to asynchronously request that certain contacts be removed from a contacts store.

For a QContactRemoveRequest, the resultsUpdated() signal will be emitted when the individual item errors (which may be retrieved by calling errorMap()) are updated, or if the overall operation error (which may be retrieved by calling error()) is updated.

Please see the class documentation of QContactAbstractRequest for more information about the usage of request classes and ownership semantics.

Member Function Documentation

QContactRemoveRequest::QContactRemoveRequest ( QObject * parent = 0 )

Constructs a new contact remove request whose parent is the specified parent

QContactRemoveRequest::~QContactRemoveRequest ()

Frees any memory used by this request

QList<QContactLocalId> QContactRemoveRequest::contactIds () const

Returns the list of ids of contacts which will be removed

This function was introduced in Qt Mobility 1.0.

See also setContactIds().

QMap<int, QContactManager::Error> QContactRemoveRequest::errorMap () const

Returns the map of input contact list indices to errors which occurred

This function was introduced in Qt Mobility 1.0.

void QContactRemoveRequest::setContactId ( const QContactLocalId & contactId )

Sets the id of the contact which will be removed to contactId. Equivalent to calling:

 setContactIds(QList<QContactLocalId>() << contactIds);

This function was introduced in Qt Mobility 1.0.

void QContactRemoveRequest::setContactIds ( const QList<QContactLocalId> & contactIds )

Sets the list of ids of contacts which will be removed to contactIds

This function was introduced in Qt Mobility 1.0.

See also contactIds().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.