QtMobility Reference Documentation

Contents

QML RelationshipFilter Element

The RelationshipFilter element provides a filter based around relationship criteria. More...

Properties

Detailed Description

This element is part of the QtMobility.contacts 1.1 module.

See also Relationship, RelationshipModel, QContactRelationshipFilter, and QContactRelationship.

Property Documentation

read-onlyrelatedContactId : 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

This documentation was introduced in Qt Mobility Mobility 1.1.


read-onlyrelatedContactRole : 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).

This documentation was introduced in Qt Mobility Mobility 1.1.


relationshipType : variant

This property holds the type of relationship that a contact must have in order to match the filter.

This documentation was introduced in Qt Mobility Mobility 1.1.

See also Relationship::type.