--- a/qtcontactsmobility/plugins/contacts/symbian/src/transform/cnttransformavatar.cpp Mon May 03 12:24:20 2010 +0300
+++ b/qtcontactsmobility/plugins/contacts/symbian/src/transform/cnttransformavatar.cpp Fri May 14 15:42:23 2010 +0300
@@ -99,8 +99,9 @@
bool CntTransformAvatar::supportsField(TUint32 fieldType) const
{
bool ret = false;
- if (fieldType == KUidContactFieldCodImage.iUid)
+ if (fieldType == KUidContactFieldCodImage.iUid) {
ret = true;
+ }
return ret;
}
@@ -128,7 +129,6 @@
*/
bool CntTransformAvatar::supportsSubType(const QString& /*subType*/) const
{
- // XXX todo
return false;
}
@@ -138,10 +138,12 @@
* \a fieldName The name of the supported field
* \return fieldId for the fieldName, 0 if not supported
*/
-quint32 CntTransformAvatar::getIdForField(const QString& /*fieldName*/) const
+quint32 CntTransformAvatar::getIdForField(const QString& fieldName) const
{
- // XXX todo
- return 0;
+ if (QContactAvatar::FieldImageUrl == fieldName)
+ return 0;
+ else
+ return 0;
}
/*!