RelationshipModelThe RelationshipModel provides a model of contact relationships from the contacts store. More... Inherits QtObject Properties
Methods
Detailed DescriptionThis element is part of the QtContacts module. The contents of the model can be specified with participantId, role and relationshipType properties. Whether the model is automatically updated when the store or filter changes, can be controlled with RelationshipModel::autoUpdate property. There are two ways of accessing the relationship data: through model by using views and delegates, or alternatively via relationships list property. At the moment only data role provided by the model is relationship (Relationship). Through that one can access any data provided by the Relationship element. See also Relationship and QContactRelationship. Property DocumentationThis property indicates whether or not the relationship model should be updated automatically, default value is true. This property holds the latest error code returned by the contact manager. This property is read only. This property holds the manager uri of the contact backend engine. This property holds the participant which the list of relationships returned by RelationshipModel should contain. See also RelationshipFilter::relatedContactId and RelationshipModel::role. This property holds the relationship type which the list of relationships returned by RelationshipModel should contain. See also Relationship::type. This property holds a list of relationships. See also Relationship. This property holds the relationship role which the list of relationships returned by RelationshipModel should contain. See also RelationshipFilter::relatedContactRole. Method DocumentationRemoves the given relationship from the backend store. |
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt 5.0-snapshot | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter contacter par email ou par MP ! |
Copyright © 2000-2012 - www.developpez.com