equal
deleted
inserted
replaced
115 } |
115 } |
116 |
116 |
117 return geolocation; |
117 return geolocation; |
118 } |
118 } |
119 |
119 |
120 bool CntTransformGeolocation::supportsField(TUint32 fieldType) const |
|
121 { |
|
122 bool ret = false; |
|
123 if (fieldType == KUidContactFieldGEO.iUid) { |
|
124 ret = true; |
|
125 } |
|
126 return ret; |
|
127 } |
|
128 |
|
129 bool CntTransformGeolocation::supportsDetail(QString detailName) const |
120 bool CntTransformGeolocation::supportsDetail(QString detailName) const |
130 { |
121 { |
131 bool ret = false; |
122 bool ret = false; |
132 if (detailName == QContactGeoLocation::DefinitionName) { |
123 if (detailName == QContactGeoLocation::DefinitionName) { |
133 ret = true; |
124 ret = true; |
134 } |
125 } |
135 return ret; |
126 return ret; |
|
127 } |
|
128 |
|
129 QList<TUid> CntTransformGeolocation::supportedFields() const |
|
130 { |
|
131 return QList<TUid>() |
|
132 << KUidContactFieldGEO; |
136 } |
133 } |
137 |
134 |
138 QList<TUid> CntTransformGeolocation::supportedSortingFieldTypes(QString /*detailFieldName*/) const |
135 QList<TUid> CntTransformGeolocation::supportedSortingFieldTypes(QString /*detailFieldName*/) const |
139 { |
136 { |
140 // Sorting not supported |
137 // Sorting not supported |