Home · All Classes · All Functions ·

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 )

Public Variables

const char * DefinitionName
const char * FieldGender
const char * GenderFemale
const char * GenderMale
const char * GenderUnspecified

Additional Inherited Members


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 char * QContactGender::DefinitionName

The constant string which identifies the definition of details which identify the gender of a contact in a given context.

const char * QContactGender::FieldGender

The constant key for which the gender value is stored in details of the QContactGender type.

const char * QContactGender::GenderFemale

The value that identifies this contact as being female.

const char * QContactGender::GenderMale

The value that identifies this contact as being male.

const char * QContactGender::GenderUnspecified

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


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.0.0