QContactRelationshipFilter Class ReferenceThe QContactRelationshipFilter class provides a filter based around relationship criteria. More... #include <QContactRelationshipFilter> Inherits QContactFilter. Public Types
Public Functions
Detailed DescriptionThe QContactRelationshipFilter class provides a filter based around relationship criteria. It may be used to select contacts which are involved in relationships which are of a certain type, or which involve certain contacts. Member Type Documentation
|
Constant | Value | Description |
---|---|---|
QContactRelationshipFilter::First | 0 | The contact is the first contact in the relationship |
QContactRelationshipFilter::Second | 1 | The contact is the second contact in the relationship |
QContactRelationshipFilter::Either | 2 | The contact is either the first or second contact in the relationship |
Constructs a new relationship filter
Constructs a copy of other if possible, else constructs a new QContactRelationshipFilter.
Returns the id of another contact with whom a contact must have a relationship in order to match the filter
See also setOtherParticipantId().
Returns the type of relationship that a contact must have in order to match the filter
See also setRelationshipType().
Returns the role that a contact must have in a relationship in order to match the filter
See also setRole().
Sets the contact id of the other participant which must be present in the relationship with the contact in order for the contact to match the filter to be id
See also otherParticipantId().
Sets the type of relationship which a contact must have in order to match this filter to relationshipType
See also relationshipType().
Sets the role in the relationship that a contact must be in order to match this filter to roleInRelationship
See also role().
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 qtmobility-1.0-tp | |
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 ! |
Copyright © 2000-2012 - www.developpez.com