The QContactRemoveRequest class allows a client to asynchronously request that certain contacts be removed from a contacts store. More...
#include <QContactRemoveRequest>
Inherits QContactAbstractRequest.
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 ) |
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.
Constructs a new contact remove request whose parent is the specified parent
Frees any memory used by this request
Returns the list of ids of contacts which will be removed
See also setContactIds().
Returns the map of input contact list indices to errors which occurred
Sets the id of the contact which will be removed to contactId. Equivalent to calling:
setContactIds(QList<QContactLocalId>() << contactIds);
Sets the list of ids of contacts which will be removed to contactIds
See also contactIds().