![]() |
Home · All Classes · All Functions · | ![]() |
The QContactRelationshipFetchRequest class allows a client to asynchronously request relationships from a contacts store manager. More...
#include <QContactRelationshipFetchRequest>
Inherits QContactAbstractRequest.
QContactRelationshipFetchRequest () | |
~QContactRelationshipFetchRequest () | |
QContactId | first () const |
QString | relationshipType () const |
QList<QContactRelationship> | relationships () const |
QContactId | second () const |
void | setFirst ( const QContactId & firstId ) |
void | setRelationshipType ( const QString & relationshipType ) |
void | setSecond ( const QContactId & secondId ) |
The QContactRelationshipFetchRequest class allows a client to asynchronously request relationships from a contacts store manager.
For a QContactRelationshipFetchRequest, the resultsAvailable() signal will be emitted when 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.
Constructs a new relationship fetch request
Cleans up the memory in use by this relationship fetch request
Returns the source contact criterion of the fetch request
See also setFirst().
Returns the relationship type criterion of the fetch request
See also setRelationshipType().
Returns the list of relationships that was the result of the request
Returns the destination contact criterion of the fetch request
See also setSecond().
Sets the source contact criterion of the fetch request to firstId. If firstId is the default-constructed id, or the first contact id is not set, the request will fetch relationships involving any first contact.
See also first().
Sets the relationship type criterion of the fetch request to relationshipType. If relationshipType is empty, or the relationship type is not set, the request will fetch relationships of any type.
See also relationshipType().
Sets the destination contact criterion of the fetch request to secondId. If secondId is the default-constructed id, or the second contact id is not set, the request will fetch relationships involving any second contact.
See also second().
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.0.0 |