QContactDetailDefinition Class Reference#include <QContactDetailDefinition> Public Types
Public Functions
Detailed DescriptionThe QContactDetailDefinition class provides the specification for a detail that can be included in any particular QContact. The definition does not include any data, but defines the semantics of the representation and use of data details that are stored in a QContact. Member Type Documentation
|
Constant | Value | Description |
---|---|---|
QContactDetailDefinition::NoConstraint | 0 | Details of definitions with this access constraint set have no special access semantics associated with them. Users can read, write, and otherwise modify such details in any manner. |
QContactDetailDefinition::ReadOnly | 1 | Details of definitions with this access constraint set are dynamically modified by the backend. Users cannot write values to details of definitions with this access constraint set. |
QContactDetailDefinition::CreateOnly | 2 | Details of definitions with this access constraint set are static once created. Their value cannot be changed dynamically, nor can they be written or read by users. |
Construct a new, invalid QContactDetailDefinition
Constructs a new QContactDetailDefinition from other
Frees the memory used by this QContactDetailDefinition
Returns the access constraint that is applied to details of this definition
See also setAccessConstraint().
Returns the map of keys to fields which are present in details of this definition
See also setFields().
Returns a reference to the map of keys to fields which are present in details of this definition.
You can make changes to the returned map.
Returns true if the id and fields of this definition are empty
Returns the per-contact uniqueness of this definition
Returns the identifier of this detail definition
See also setName().
Sets the access constraint that is applied to details of this definition to constraint
See also accessConstraint().
Sets the fields which constitute the data of details of this this definition to fields
See also fields().
Sets the unique identifier of this detail type to definitionName.
See also name().
Sets whether a contact can have more than one detail of this type. If unique is true, only one detail of this type can be added. Otherwise, any number can be added.
See also isUnique().
Returns true if this detail definition has different allowable field types, access constraints or uniqueness to the other definition
Assigns this QContactDetailDefinition to other
Returns true if the definition has the same type, uniqueness, access constraint and allowable value datatypes as other
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 qtmobility-1.0-tp | |
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 ou par MP ! |
Copyright © 2000-2012 - www.developpez.com