The QContactGender class contains the gender of a contact. More...
#include <QContactGender>
Inherits: QContactDetail.
This class was introduced in Qt Mobility 1.0.
QString | gender () const |
void | setGender ( const QString & gender ) |
const QLatin1Constant | DefinitionName |
const QLatin1Constant | FieldGender |
const QLatin1Constant | GenderFemale |
const QLatin1Constant | GenderMale |
const QLatin1Constant | GenderUnspecified |
The QContactGender class contains the gender of a contact.
This leaf-class has been part of the default schema since version 1.0 of the Qt Mobility project.
Returns the gender of the contact, as stored in this detail. The possible values for the value stored are "Male", "Female" and "Unspecified".
This function was introduced in Qt Mobility 1.0.
See also setGender().
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".
This function was introduced in Qt Mobility 1.0.
See also gender().
The string constant for the definition name of QContactGender details.
The field key constant for the value containing the gender.
See also gender() and setGender().
The value that identifies this contact as being female.
The value that identifies this contact as being male.
The value that identifies this contact as being of unspecified gender.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.