qtmobility/plugins/contacts/symbian/src/transform/cnttransformorganisation.cpp
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 11 06b8e2af4411
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
   155 quint32 CntTransformOrganisation::getIdForField(const QString& fieldName) const
   155 quint32 CntTransformOrganisation::getIdForField(const QString& fieldName) const
   156 {
   156 {
   157 
   157 
   158     if (QContactOrganization::FieldName  == fieldName)
   158     if (QContactOrganization::FieldName  == fieldName)
   159         return KUidContactFieldCompanyName.iUid;
   159         return KUidContactFieldCompanyName.iUid;
   160     else if (QContactOrganization::FieldLogo == fieldName)
   160     else if (QContactOrganization::FieldLogoUrl == fieldName)
   161         return 0;
   161         return 0;
   162     else if (QContactOrganization::FieldDepartment == fieldName)
   162     else if (QContactOrganization::FieldDepartment == fieldName)
   163         return KUidContactFieldDepartmentName.iUid;
   163         return KUidContactFieldDepartmentName.iUid;
   164     else if (QContactOrganization::FieldLocation == fieldName)
   164     else if (QContactOrganization::FieldLocation == fieldName)
   165         return 0;
   165         return 0;