CContactDatabase::TSortPref Class Reference
class CContactDatabase::TSortPref
|
Specifies the field type and order preferences used for sorting items in the contacts database.
The contents of the first field in a contact item matching the field type is used as the data to sort on. The order can either be ascending or descending.
CContactDatabase::SortL()
CContactDatabase::SortArrayL()
Constructor & Destructor Documentation
TSortPref()
Constructs a
TSortPref
object. The order is initialised to EAsc and the field type to KNullUid.
TSortPref(TFieldType, TOrder)
Constructs the
TSortPref
object with a field type and an order.
Parameters
TFieldType
aFieldType
|
Specifies the field type to sort on.
|
TOrder
aOrder = EAsc
|
Specifies the sort order.
|
Member Functions Documentation
ExternalizeL(RWriteStream &)
Store this
TSortPref
object in the given stream.
Parameters
RWriteStream
& aStream
|
Stream to write TSortPref object state to.
|
InternalizeL(RReadStream &)
Initialise this
TSortPref
object from the given stream.
Parameters
RReadStream
& aStream
|
Stream to read TSortPref object state from.
|
Member Enumerations Documentation
Enum TOrder
Enumerators
EAsc
|
Ascending sort order.
|
EDesc
|
Descending sort order.
|
Member Data Documentation
TFieldType
iFieldType
The first field matching this field type is used for the text to sort on.
TOrder
iOrder
Specifies whether the sort should be ascending or descending.
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.