Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

QContactRelationshipFetchRequest Class

The QContactRelationshipFetchRequest class allows a client to asynchronously request relationships from a contacts store manager. More...

 #include <QContactRelationshipFetchRequest>

Inherits: QContactAbstractRequest.

Public Functions

QContactRelationshipFetchRequest(QObject * parent = 0)
~QContactRelationshipFetchRequest()
QContact first() const
QString relationshipType() const
QList<QContactRelationship> relationships() const
QContact second() const
void setFirst(const QContact & firstContact)
void setRelationshipType(const QString & relationshipType)
void setSecond(const QContact & secondContact)

Additional Inherited Members

Detailed Description

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.

Member Function Documentation

QContactRelationshipFetchRequest::QContactRelationshipFetchRequest(QObject * parent = 0)

Constructs a new relationship fetch request whose parent is the specified parent

QContactRelationshipFetchRequest::~QContactRelationshipFetchRequest()

Frees any memory used by this request

QContact QContactRelationshipFetchRequest::first() const

Returns the source contact criterion of the fetch request

See also setFirst().

QString QContactRelationshipFetchRequest::relationshipType() const

Returns the relationship type criterion of the fetch request

See also setRelationshipType().

QList<QContactRelationship> QContactRelationshipFetchRequest::relationships() const

Returns the list of relationships that was the result of the request

QContact QContactRelationshipFetchRequest::second() const

Returns the destination contact criterion of the fetch request

See also setSecond().

void QContactRelationshipFetchRequest::setFirst(const QContact & firstContact)

Sets the source contact criterion of the fetch request to firstId. If firstContact is empty, or the first contact is not set, the request will fetch relationships involving any first contact.

See also first().

void QContactRelationshipFetchRequest::setRelationshipType(const QString & relationshipType)

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().

void QContactRelationshipFetchRequest::setSecond(const QContact & secondContact)

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().

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 5.0-snapshot
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web