qtmobility/src/contacts/details/qcontactnote.h
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 11 06b8e2af4411
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
    53 /* Leaf class */
    53 /* Leaf class */
    54 class Q_CONTACTS_EXPORT QContactNote : public QContactDetail
    54 class Q_CONTACTS_EXPORT QContactNote : public QContactDetail
    55 {
    55 {
    56 public:
    56 public:
    57 #ifdef Q_QDOC
    57 #ifdef Q_QDOC
    58     const char* DefinitionName;
    58     static const QLatin1Constant DefinitionName;
    59     const char* FieldNote;
    59     static const QLatin1Constant FieldNote;
    60 #else
    60 #else
    61     Q_DECLARE_CUSTOM_CONTACT_DETAIL(QContactNote, "Note")
    61     Q_DECLARE_CUSTOM_CONTACT_DETAIL(QContactNote, "Note")
    62     Q_DECLARE_LATIN1_LITERAL(FieldNote, "Note");
    62     Q_DECLARE_LATIN1_CONSTANT(FieldNote, "Note");
    63 #endif
    63 #endif
    64 
    64 
    65     void setNote(const QString& note) {setValue(FieldNote, note);}
    65     void setNote(const QString& note) {setValue(FieldNote, note);}
    66     QString note() const {return value(FieldNote);}
    66     QString note() const {return value(FieldNote);}
    67 };
    67 };