Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

QContactGender Class Reference

The QContactGender class contains the gender of a contact. More...

    #include <QContactGender>

Inherits QContactDetail.


Public Functions

QString gender () const
void setGender ( const QString & gender )

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldGender
const QLatin1Constant GenderFemale
const QLatin1Constant GenderMale
const QLatin1Constant GenderUnspecified

Detailed Description

The QContactGender class contains the gender of a contact.


Member Function Documentation

QString QContactGender::gender () const

Returns the gender of the contact, as stored in this detail. The possible values for the value stored are "Male", "Female" and "Unspecified".

See also setGender().

void QContactGender::setGender ( const QString & gender )

Sets the gender of the contact (as stored in this detail) to gender, if gender is either "Male" or "Female", otherwise sets it to "Unspecified".

See also gender().


Member Variable Documentation

const QLatin1Constant QContactGender::DefinitionName

The string constant for the definition name of QContactGender details.

const QLatin1Constant QContactGender::FieldGender

The field key constant for the value containing the gender.

See also gender() and setGender().

const QLatin1Constant QContactGender::GenderFemale

The value that identifies this contact as being female.

const QLatin1Constant QContactGender::GenderMale

The value that identifies this contact as being male.

const QLatin1Constant QContactGender::GenderUnspecified

The value that identifies this contact as being of unspecified gender.

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
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 !
 
 
 
 
Partenaires

Hébergement Web