The RelationshipFilter element provides a filter based around relationship criteria. More...
|Import Statement:||import QtContacts 5.0|
This element is part of the QtContacts module.
See also Relationship, RelationshipModel, QContactRelationshipFilter, and QContactRelationship.
relatedContactId : int
This property holds the id of the contact with whom the tested contact must have a relationship in order for the tested contact to match this filter
relatedContactRole : enumeration
This property holds the role in the relationship with the tested contact that the related contact must play in order for the tested contact to match this filter. The role can be one of:
- Relationship.First - The contact is the first contact in the relationship.
- Relationship.Second - The contact is the second contact in the relationship.
- Relationship.Either - The contact is either the first or second contact in the relationship (default).
relationshipType : variant
This property holds the type of relationship that a contact must have in order to match the filter.
See also Relationship::type.