equal
deleted
inserted
replaced
54 /* Leaf class */ |
54 /* Leaf class */ |
55 class Q_CONTACTS_EXPORT QContactGuid : public QContactDetail |
55 class Q_CONTACTS_EXPORT QContactGuid : public QContactDetail |
56 { |
56 { |
57 public: |
57 public: |
58 #ifdef Q_QDOC |
58 #ifdef Q_QDOC |
59 const char* DefinitionName; |
59 static const QLatin1Constant DefinitionName; |
60 const char* FieldGuid; |
60 static const QLatin1Constant FieldGuid; |
61 #else |
61 #else |
62 Q_DECLARE_CUSTOM_CONTACT_DETAIL(QContactGuid, "Guid") |
62 Q_DECLARE_CUSTOM_CONTACT_DETAIL(QContactGuid, "Guid") |
63 Q_DECLARE_LATIN1_LITERAL(FieldGuid, "Guid"); |
63 Q_DECLARE_LATIN1_CONSTANT(FieldGuid, "Guid"); |
64 #endif |
64 #endif |
65 |
65 |
66 void setGuid(const QString& guid) {setValue(FieldGuid, guid);} |
66 void setGuid(const QString& guid) {setValue(FieldGuid, guid);} |
67 QString guid() const {return value(FieldGuid);} |
67 QString guid() const {return value(FieldGuid);} |
68 }; |
68 }; |