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