The QContactRelationshipFetchRequest class allows a client to asynchronously request relationships from a contacts store manager. More...
#include <QContactRelationshipFetchRequest>
Inherits: QContactAbstractRequest.
This class was introduced in Qt Mobility 1.0.
QContactRelationshipFetchRequest ( QObject * parent = 0 ) | |
~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.
Please see the class documentation of QContactAbstractRequest for more information about the usage of request classes and ownership semantics.
Constructs a new relationship fetch request whose parent is the specified parent
Frees any memory used by this request
Returns the source contact criterion of the fetch request
This function was introduced in Qt Mobility 1.0.
See also setFirst().
Returns the relationship type criterion of the fetch request
This function was introduced in Qt Mobility 1.0.
See also setRelationshipType().
Returns the list of relationships that was the result of the request
This function was introduced in Qt Mobility 1.0.
Returns the destination contact criterion of the fetch request
This function was introduced in Qt Mobility 1.0.
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.
This function was introduced in Qt Mobility 1.0.
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.
This function was introduced in Qt Mobility 1.0.
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.
This function was introduced in Qt Mobility 1.0.
See also second().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.