![]() |
Home · All Classes · All Functions · | ![]() |
The QContactSaveRequest class allows a client to asynchronously request that certain contacts be saved to a contacts store. More...
#include <QContactSaveRequest>
Inherits QContactAbstractRequest.
QContactSaveRequest ( QObject * parent = 0 ) | |
QList<QContact> | contacts () const |
QMap<int, QContactManager::Error> | errorMap () const |
void | setContact ( const QContact & contact ) |
void | setContacts ( const QList<QContact> & contacts ) |
The QContactSaveRequest class allows a client to asynchronously request that certain contacts be saved to a contacts store.
For a QContactSaveRequest, the resultsAvailable() signal will be emitted when either the individual item errors (which may be retrieved by calling errorMap()), or the resultant contacts (which may be retrieved by calling contacts()), are updated, as well as 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 save request whose parent is the specified parent
Returns the list of contacts which will be saved if called prior to calling start(), otherwise returns the list of contacts as they were saved in the contacts store
See also setContacts().
Returns the map of input definition list indices to errors which occurred
Sets the contact to be saved to contact. Equivalent to calling:
setContacts(QList<QContact>() << contact);
Sets the list of contacts to be saved to contacts
See also contacts().
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.0.2 |