QtMobility Reference Documentation

Contents

QML Relationship Element

The Relationship element describes a one-to-one relationship between a locally-stored contact and another (possibly remote) contact. More...

  • List of all members, including inherited members
  • 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 documentation was introduced in Qt Mobility 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 documentation was introduced in Qt Mobility 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 documentation was introduced in Qt Mobility Mobility 1.1.