equal
deleted
inserted
replaced
54 /* Leaf class */ |
54 /* Leaf class */ |
55 class Q_CONTACTS_EXPORT QContactDisplayLabel : public QContactDetail |
55 class Q_CONTACTS_EXPORT QContactDisplayLabel : 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* FieldLabel; |
60 static const QLatin1Constant FieldLabel; |
61 #else |
61 #else |
62 Q_DECLARE_CUSTOM_CONTACT_DETAIL(QContactDisplayLabel, "DisplayLabel") |
62 Q_DECLARE_CUSTOM_CONTACT_DETAIL(QContactDisplayLabel, "DisplayLabel") |
63 Q_DECLARE_LATIN1_LITERAL(FieldLabel, "Label"); |
63 Q_DECLARE_LATIN1_CONSTANT(FieldLabel, "Label"); |
64 #endif |
64 #endif |
65 |
65 |
66 QString label() const {return value(FieldLabel);} |
66 QString label() const {return value(FieldLabel);} |
67 |
67 |
68 static QContactFilter match(const QString& label); |
68 static QContactFilter match(const QString& label); |