diff -r 2b40d63a9c3d -r 90517678cc4f qtmobility/src/contacts/details/qcontactgender.h --- a/qtmobility/src/contacts/details/qcontactgender.h Fri Apr 16 15:51:22 2010 +0300 +++ b/qtmobility/src/contacts/details/qcontactgender.h Mon May 03 13:18:40 2010 +0300 @@ -55,17 +55,17 @@ { public: #ifdef Q_QDOC - const char* DefinitionName; - const char* FieldGender; - const char* GenderMale; - const char* GenderFemale; - const char* GenderUnspecified; + static const QLatin1Constant DefinitionName; + static const QLatin1Constant FieldGender; + static const QLatin1Constant GenderMale; + static const QLatin1Constant GenderFemale; + static const QLatin1Constant GenderUnspecified; #else Q_DECLARE_CUSTOM_CONTACT_DETAIL(QContactGender, "Gender") - Q_DECLARE_LATIN1_LITERAL(FieldGender, "Gender"); - Q_DECLARE_LATIN1_LITERAL(GenderMale, "Male"); - Q_DECLARE_LATIN1_LITERAL(GenderFemale, "Female"); - Q_DECLARE_LATIN1_LITERAL(GenderUnspecified, "Unspecified"); + Q_DECLARE_LATIN1_CONSTANT(FieldGender, "Gender"); + Q_DECLARE_LATIN1_CONSTANT(GenderMale, "Male"); + Q_DECLARE_LATIN1_CONSTANT(GenderFemale, "Female"); + Q_DECLARE_LATIN1_CONSTANT(GenderUnspecified, "Unspecified"); #endif void setGender(const QString& gender) {setValue(FieldGender, gender);}