--- a/qtmobility/src/contacts/details/qcontactfamily.h Fri Apr 16 15:51:22 2010 +0300
+++ b/qtmobility/src/contacts/details/qcontactfamily.h Mon May 03 13:18:40 2010 +0300
@@ -56,13 +56,13 @@
{
public:
#ifdef Q_QDOC
- const char* DefinitionName;
- const char* FieldSpouse;
- const char* FieldChildren;
+ static const QLatin1Constant DefinitionName;
+ static const QLatin1Constant FieldSpouse;
+ static const QLatin1Constant FieldChildren;
#else
Q_DECLARE_CUSTOM_CONTACT_DETAIL(QContactFamily, "Family")
- Q_DECLARE_LATIN1_LITERAL(FieldSpouse, "Spouse");
- Q_DECLARE_LATIN1_LITERAL(FieldChildren, "Children");
+ Q_DECLARE_LATIN1_CONSTANT(FieldSpouse, "Spouse");
+ Q_DECLARE_LATIN1_CONSTANT(FieldChildren, "Children");
#endif
void setSpouse(const QString& spouseName) {setValue(FieldSpouse, spouseName);}