qtmobility/src/contacts/details/qcontactnote.h
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 11 06b8e2af4411
--- a/qtmobility/src/contacts/details/qcontactnote.h	Fri Apr 16 15:51:22 2010 +0300
+++ b/qtmobility/src/contacts/details/qcontactnote.h	Mon May 03 13:18:40 2010 +0300
@@ -55,11 +55,11 @@
 {
 public:
 #ifdef Q_QDOC
-    const char* DefinitionName;
-    const char* FieldNote;
+    static const QLatin1Constant DefinitionName;
+    static const QLatin1Constant FieldNote;
 #else
     Q_DECLARE_CUSTOM_CONTACT_DETAIL(QContactNote, "Note")
-    Q_DECLARE_LATIN1_LITERAL(FieldNote, "Note");
+    Q_DECLARE_LATIN1_CONSTANT(FieldNote, "Note");
 #endif
 
     void setNote(const QString& note) {setValue(FieldNote, note);}