equal
deleted
inserted
replaced
74 birthday->setDate(qDate); |
74 birthday->setDate(qDate); |
75 |
75 |
76 return birthday; |
76 return birthday; |
77 } |
77 } |
78 |
78 |
79 bool CntTransformBirthday::supportsField(TUint32 fieldType) const |
|
80 { |
|
81 bool ret = false; |
|
82 if (fieldType == KUidContactFieldBirthday.iUid) { |
|
83 ret = true; |
|
84 } |
|
85 return ret; |
|
86 } |
|
87 |
|
88 bool CntTransformBirthday::supportsDetail(QString detailName) const |
79 bool CntTransformBirthday::supportsDetail(QString detailName) const |
89 { |
80 { |
90 bool ret = false; |
81 bool ret = false; |
91 if (detailName == QContactBirthday::DefinitionName) { |
82 if (detailName == QContactBirthday::DefinitionName) { |
92 ret = true; |
83 ret = true; |
93 } |
84 } |
94 return ret; |
85 return ret; |
|
86 } |
|
87 |
|
88 QList<TUid> CntTransformBirthday::supportedFields() const |
|
89 { |
|
90 return QList<TUid>() |
|
91 << KUidContactFieldBirthday; |
95 } |
92 } |
96 |
93 |
97 QList<TUid> CntTransformBirthday::supportedSortingFieldTypes(QString detailFieldName) const |
94 QList<TUid> CntTransformBirthday::supportedSortingFieldTypes(QString detailFieldName) const |
98 { |
95 { |
99 QList<TUid> uids; |
96 QList<TUid> uids; |