MPbkContactNameFormat Class Reference
class MPbkContactNameFormat
|
Constructor & Destructor Documentation
~MPbkContactNameFormat()
~MPbkContactNameFormat
|
(
|
)
|
[inline, virtual]
|
Member Functions Documentation
ContactListTitleLength(const MPbkFieldDataArray &)
Calculates title text length for a contact. To be used in contact lists only, because the formatting does not remove leading spaces.
Parameters
const
MPbkFieldDataArray
& aContactData
|
a field data array representing the data in the contact.
|
ContactTitleLength(const MPbkFieldDataArray &)
Calculates title text length for a contact
Parameters
const
MPbkFieldDataArray
& aContactData
|
a field data array representing the data in the contact.
|
FilterContactFieldsForFind(const MPbkFieldDataArray &)
Returns filtered contact data which contains only fields that will be used in contact find.
FilterContactTitleFields(const MPbkFieldDataArray &)
Returns filtered contact data which contains only fields that will be used in contact name formatting.
FormatNameDescriptorL(const TDesC &)
HBufC
*
|
FormatNameDescriptorL
|
(
|
const
TDesC
&
|
aTitle
|
)
|
const [pure virtual]
|
Formats aTitle according to Phonebook name formatting rules.
GetContactListTitle(const MPbkFieldDataArray &, TDes &)
Gets a title text for a contact. To be used in contact lists only, because the formatting does not remove leading spaces.
ContactTitleLength
aTitle.Length()==ContactListTitleLength(aContactData)
Parameters
const
MPbkFieldDataArray
& aContactData
|
a field data array representing the data in the contact.
|
TDes
& aTitle
|
a buffer where the title text is formatted. The buffer must have enough capacity to hold the formatted title, otherwise this function will panic.
|
GetContactTitle(const MPbkFieldDataArray &, TDes &)
Gets a title text for a contact.
ContactTitleLength
aTitle.Length()==ContactTitleLength(aContactData)
Parameters
const
MPbkFieldDataArray
& aContactData
|
a field data array representing the data in the contact.
|
TDes
& aTitle
|
a buffer where the title text is formatted. The buffer must have enough capacity to hold the formatted title, otherwise this function will panic.
|
GetContactTitleL(const MPbkFieldDataArray &)
Gets a title text for a contact or qtn_phob_unnamed.
Parameters
const
MPbkFieldDataArray
& aContactData
|
a field data array representing the data in the contact.
|
GetContactTitleOrNullL(const MPbkFieldDataArray &)
Gets a title text for a contact.
Parameters
const
MPbkFieldDataArray
& aContactData
|
a field data array representing the data in the contact.
|
IsTitleField(TPbkFieldId)
UnnamedText()
const
TDesC
&
|
UnnamedText
|
(
|
)
|
const [pure virtual]
|
Returns name text to use for unnamed contacts.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.