MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML RelationshipFilter Element

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

This element was introduced in Mobility 1.1.

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 property group was introduced in 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 property group was introduced in Mobility 1.1.


relationshipType : variant

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

This property group was introduced in Mobility 1.1.

See also Relationship::type.