MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML Relationship Element

The Relationship element describes a one-to-one relationship between a locally-stored contact and another (possibly remote) contact. 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 QContactRelationship and RelationshipModel.

Property Documentation

first : int

This property holds the id of the locally-stored contact which has a relationship of the given type with the second contact.

This property group was introduced in Mobility 1.1.


second : int

This property holds the id of the contact with which the first contact has a relationship of the given type.

This property group was introduced in Mobility 1.1.


type : string

This property holds the type of relationship which the source contact has with the destination contacts. The value for this property can be one of:

  • HasMember
  • Aggregates
  • IsSameAs
  • HasAssistant
  • HasManager
  • HasSpouse

or any other customized relationship type string.

This property group was introduced in Mobility 1.1.