CPbk2SortOrderManager Class Reference
class CPbk2SortOrderManager : public CBase
|
Phonebook 2 sort order manager. Responsible for managing the sort order of the contacts in a contact view.
Constructor & Destructor Documentation
~CPbk2SortOrderManager()
~CPbk2SortOrderManager
|
(
|
)
|
|
Member Functions Documentation
AddObserverL(MPbk2SortOrderObserver &)
ConstructL(const MVPbkFieldTypeList &, RFs *)
CurrentSeparator()
IMPORT_C const
TDesC
&
|
CurrentSeparator
|
(
|
)
|
const
|
Returns the current separator. This the separator that can be changed run time and saved to Central Repository.
DefaultSeparator()
IMPORT_C const
TDesC
&
|
DefaultSeparator
|
(
|
)
|
|
Returns the language specific default separator. This can not be changed run time.
NameDisplayOrder()
Returns the current name display order.
NewL(const MVPbkFieldTypeList &, RFs *)
Creates a new instance of this class.
Parameters
const
MVPbkFieldTypeList
& aMasterFieldTypeList
|
Master field type list. Can be retrieved from Virtual Phonebook contact manager.
|
RFs
* aFs = NULL
|
A file system session reference for resource file handling. If NULL then an own session is created.
|
RemoveObserver(MPbk2SortOrderObserver &)
SetContactViewL(MVPbkContactViewBase &)
Sets the contact view that this manager manages. Takes in use the sort order from the given view.
SetNameDisplayOrderL(TPbk2NameDisplayOrder, const TDesC &)
Sets the name displaying order for the managed contact view.
Parameters
TPbk2NameDisplayOrder
aNameDisplayOrder
|
New name display order for the managed contact view.
|
const
TDesC
& aSeparator =
KNullDesC
|
Custom separator to be used between lastname and firstname if it exists. If KNullDesC is given, space is used as separator.
|
SortOrder()
Returns the current sort order.
Member Enumerations Documentation
Enum TPbk2NameDisplayOrder
Enumerators
EPbk2NameDisplayOrderLastNameFirstName
|
|
EPbk2NameDisplayOrderFirstNameLastName
|
|
EPbk2NameDisplayOrderLastNameSeparatorFirstName
|
|
Member Data Documentation
CPbk2SortOrderManagerImpl * iImpl
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.