Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: cntviewbase.h

Enum TContactViewPreferences

TContactViewPreferences

Description

View preferences for sorted contact views.

This is used to specify the types of contact item that should be sorted and included in the view and the behaviour for items that cannot be sorted because they do not have content in any of the fields specified in the view's sort order.

The default behaviour is to include contact cards only and to sort contact cards without content in any of the sort order fields using the first available field containing any text.

The view preferences for all concrete contact view classes can be retrieved using their implementation of CContactViewBase::ContactViewPreferences(). The view preferences are set during construction of a CContactLocalView.

EContactsOnly

Only contact cards (of type KUidContactCard or KUidContactOwnCard) are included in the view. This is the default.

EGroupsOnly

Only contact groups (of type KUidContactGroup) are included in the view.

EContactAndGroups

Contact groups and contact cards (of type KUidContactGroup, KUidContactCard or KUidContactOwnCard) are included in the view.

EIgnoreUnSorted

Excludes contact items from the view which don't have content in any of the fields specified in the sort order.

EUnSortedAtBeginning

Includes contacts in the view which don't have content in any of the fields specified in the sort order. These contacts are placed in an unsorted contact list which is located before the sorted list.

EUnSortedAtEnd

Includes contacts in the view which don't have content in any of the fields specified in the sort order. These contacts are placed in an unsorted contact list which is located after the sorted list.

ESingleWhiteSpaceIsEmptyField

Fields containing a single white space only are treated as empty, and therefore unsortable.

EICCEntriesOnly

Only ICC entries (of type KUidContactICCEntry) are included in the view.

EICCEntriesAndContacts

Only contact cards and ICC entries (of type KUidContactCard, KUidContactOwnCard or KUidContactICCEntry) are included in the view.