|
|
|
class TContactViewEvent;
Identifies a contact view event.
Sent by contact views when notifying their observers of an event.
Defined in TContactViewEvent:
EGroupChangedA change has occurred in a contact group, for instance a contact item has been moved into or out of the groupEIndexingErrorAn error occurred when setting the range for a CContactSubViewEItemAddedAn item has been added to the observed viewEItemRemovedAn item has been removed from the observed viewEReadyThe observed view's state has changed from ENotReady or EInitializing to EReady so is available for useEServerErrorAn error occurred in the contacts serverESortErrorAn error occurred when sorting the observed view or when appending an observer to its observer arrayESortOrderChangedThe observed view's sort order has changed, so observer views need to update themselvesEUnavailableThe 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 IDTEventTypeIdentifies the event's typeiContactIdThe ID of the contact item that has been added or removed or the group ID, where relevantiEventTypeThe type of eventiIntThe 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.