|
||
class TContactViewEvent;
Identifies a contact view event.
Sent by contact views when notifying their observers of an event.
Defined in TContactViewEvent
:
EGroupChanged
A change has occurred in a contact group, for instance a contact item has been moved into or out of the groupEIndexingError
An error occurred when setting the range for a CContactSubViewEItemAdded
An item has been added to the observed viewEItemRemoved
An item has been removed from the observed viewEReady
The observed view's state has changed from ENotReady or EInitializing to EReady so is available for useEServerError
An error occurred in the contacts serverESortError
An error occurred when sorting the observed view or when appending an observer to its observer arrayESortOrderChanged
The observed view's sort order has changed, so observer views need to update themselvesEUnavailable
The observed view's state has changed from EReady to either ENotReady or EInitializing, so is not available for useTContactViewEvent()
Empty default constructorTContactViewEvent()
Constructor with an event type and an optional error code and contact item IDTEventType
Identifies the event's typeiContactId
The ID of the contact item that has been added or removed or the group ID, where relevantiEventType
The type of eventiInt
The error code (where relevant) or the index of the contact item added to/removed from the underlying viewMContactViewObserver::HandleContactViewEvent()
Handles an event in an observed contact viewinline TContactViewEvent(TEventType aEventType, TInt aInt=KErrUnknown, TContactItemId aContactId=KErrUnknown);
Constructor with an event type and an optional error code and contact item ID.
|
TEventType
Identifies the event's type.
|
TInt iInt;
The error code (where relevant) or the index of the contact item added to/removed from the underlying view.
TContactItemId iContactId;
The ID of the contact item that has been added or removed or the group ID, where relevant.