qtmobility/plugins/contacts/symbian/src/transform/cnttransformfamily.cpp
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
--- a/qtmobility/plugins/contacts/symbian/src/transform/cnttransformfamily.cpp	Fri Jun 11 14:26:25 2010 +0300
+++ b/qtmobility/plugins/contacts/symbian/src/transform/cnttransformfamily.cpp	Wed Jun 23 19:08:38 2010 +0300
@@ -83,16 +83,6 @@
 	return family;
 }
 
-bool CntTransformFamily::supportsField(TUint32 fieldType) const
-{
-    bool ret = false;
-    if (fieldType == KUidContactFieldSpouse.iUid ||
-        fieldType == KUidContactFieldChildren.iUid) {
-        ret = true;
-    }
-    return ret;
-}
-
 bool CntTransformFamily::supportsDetail(QString detailName) const
 {
     bool ret = false;
@@ -102,6 +92,13 @@
     return ret;
 }
 
+QList<TUid> CntTransformFamily::supportedFields() const
+{
+    return QList<TUid>()
+        << KUidContactFieldSpouse
+        << KUidContactFieldChildren;
+}
+
 QList<TUid> CntTransformFamily::supportedSortingFieldTypes(QString /*detailFieldName*/) const
 {
     // Sorting not supported