equal
deleted
inserted
replaced
76 } |
76 } |
77 |
77 |
78 return name; |
78 return name; |
79 } |
79 } |
80 |
80 |
81 bool CntTransformNickname::supportsField(TUint32 fieldType) const |
|
82 { |
|
83 bool ret = false; |
|
84 if (fieldType == KUidContactFieldSecondName.iUid) { |
|
85 ret = true; |
|
86 } |
|
87 return ret; |
|
88 } |
|
89 |
|
90 bool CntTransformNickname::supportsDetail(QString detailName) const |
81 bool CntTransformNickname::supportsDetail(QString detailName) const |
91 { |
82 { |
92 bool ret = false; |
83 bool ret = false; |
93 if (detailName == QContactNickname::DefinitionName) { |
84 if (detailName == QContactNickname::DefinitionName) { |
94 ret = true; |
85 ret = true; |
95 } |
86 } |
96 return ret; |
87 return ret; |
|
88 } |
|
89 |
|
90 QList<TUid> CntTransformNickname::supportedFields() const |
|
91 { |
|
92 return QList<TUid>() |
|
93 << KUidContactFieldSecondName; |
97 } |
94 } |
98 |
95 |
99 QList<TUid> CntTransformNickname::supportedSortingFieldTypes(QString detailFieldName) const |
96 QList<TUid> CntTransformNickname::supportedSortingFieldTypes(QString detailFieldName) const |
100 { |
97 { |
101 QList<TUid> uids; |
98 QList<TUid> uids; |
110 * \a subType The subtype to be checked |
107 * \a subType The subtype to be checked |
111 * \return True if this subtype is supported |
108 * \return True if this subtype is supported |
112 */ |
109 */ |
113 bool CntTransformNickname::supportsSubType(const QString& subType) const |
110 bool CntTransformNickname::supportsSubType(const QString& subType) const |
114 { |
111 { |
115 Q_UNUSED(subType); |
112 Q_UNUSED(subType); |
116 return false; |
113 return false; |
117 } |
114 } |
118 |
115 |
119 /*! |
116 /*! |
120 * Returns the filed id corresponding to a field |
117 * Returns the filed id corresponding to a field |