CPbkContactSubView Class Reference
class CPbkContactSubView : public CContactViewBase
|
Nested Classes and Structures
Inherited Functions
|
|
CBase::CBase()
|
|
CBase::Delete(CBase *)
|
|
CBase::Extension_(TUint,TAny *&,TAny *)
|
|
CBase::operator new(TUint)
|
|
CBase::operator new(TUint,TAny *)
|
|
CBase::operator new(TUint,TLeave)
|
|
CBase::operator new(TUint,TLeave,TUint)
|
|
CBase::operator new(TUint,TUint)
|
|
CBase::~CBase()
|
|
CContactViewBase::CContactViewBase(const CContactDatabase &)
|
|
CContactViewBase::Close(const MContactViewObserver &)
|
|
CContactViewBase::CompareContactIds(const CViewContact &,const CViewContact &)
|
|
CContactViewBase::CompareContactsAndIdsL(const CViewContact &,const CViewContact &)const
|
|
CContactViewBase::CompareFieldsL(const CViewContact &,const CViewContact &)
|
|
CContactViewBase::ConstructL()
|
|
CContactViewBase::ContactIsSortable(const CViewContact &)
|
|
CContactViewBase::ContactsMatchingCriteriaL(const MDesCArray &,RPointerArray< CViewContact > &)
|
|
CContactViewBase::ContactsMatchingPrefixL(const MDesCArray &,RPointerArray< CViewContact > &)
|
|
CContactViewBase::Error()const
|
|
CContactViewBase::FieldsWithSeparatorLC(const RPointerArray< CViewContact > &,TInt,const TDesC &)const
|
|
CContactViewBase::FindDefaultViewSortPluginImplL()const
|
|
CContactViewBase::FindSortPluginImplL(const TDesC8 &,TBool)const
|
|
CContactViewBase::GetContactIdsL(const CArrayFix< TInt > &,CContactIdArray &)
|
|
CContactViewBase::GetViewFindConfigPlugin()
|
|
CContactViewBase::GetViewSortPluginImplUid()const
|
|
CContactViewBase::IdsEqual(const TContactIdWithMapping &,const TContactIdWithMapping &)
|
|
CContactViewBase::IdsMatch(const CViewContact &,const CViewContact &)
|
|
CContactViewBase::IndexesEqual(const TContactIdWithMapping &,const TContactIdWithMapping &)
|
|
CContactViewBase::InsertContactInView(RPointerArray< CViewContact > &,const CViewContact *,TBool,TInt *)const
|
|
CContactViewBase::IsContactSortable(const CViewContact &,TContactViewPreferences &)const
|
|
CContactViewBase::LoadViewSortPluginL(TUid,TContactViewPreferences &)
|
|
CContactViewBase::MatchesCriteriaL(const CViewContact &,const MDesCArray &)
|
|
CContactViewBase::MatchesCriteriaL(const CViewContact &,const MDesCArray &,TSearchType)
|
|
CContactViewBase::MatchesCriteriaL(const CViewContact &,const MDesCArray &,TSearchType,CContactViewBase::CContactViewBaseExtension *)
|
|
CContactViewBase::NotifyObserverAsync(MContactViewObserver &,const TContactViewEvent &)
|
|
CContactViewBase::NotifyObservers(const TContactViewEvent &)
|
|
CContactViewBase::Open(MContactViewObserver &)
|
|
CContactViewBase::OpenL(MContactViewObserver &)
|
|
CContactViewBase::SetViewFindConfigPlugin(TUid)
|
|
CContactViewBase::SortPluginImpl()const
|
|
CContactViewBase::~CContactViewBase()
|
Constructor & Destructor Documentation
CPbkContactSubView(const CContactDatabase &, MPbkContactSelector &)
~CPbkContactSubView()
~CPbkContactSubView
|
(
|
)
|
[protected]
|
Member Functions Documentation
AddBaseViewPreEventHandlerL(MContactViewObserver &)
AddContactL(TContactItemId)
Adds a contact to this sub view's set. Leaves with KErrNotFound if the contact id is not found from the db.
AddMappingL(const TIdWithMapping &)
AllFieldsLC(TInt, const TDesC &)
HBufC
*
|
AllFieldsLC
|
(
|
TInt
|
aIndex,
|
|
const
TDesC
&
|
aSeparator
|
|
)
|
const [virtual]
|
Returns a descriptor containing the contents of all fields for an item in the view.
The field separator is used to separate the contents of each field. It is not appended to the last field.
Parameters
TInt
aIndex
|
The index of the contact item into the view.
|
const
TDesC
& aSeparator
|
The string to use to separate the fields.
|
AtL(TInt)
Returns the contact item ID at the specified index into the view.
Parameters
TInt
aIndex
|
Index of the contact item ID into the view.
|
CContactViewBase_Reserved_1(TFunction, TAny *)
CompareIndexes(const TIdWithMapping &, const TIdWithMapping &)
ConstructL(MContactViewObserver &, CContactViewBase &)
Second phase constructor.
ContactAtL(TInt)
Returns the contact item at the specified index into the view.
Parameters
TInt
aIndex
|
Index of the contact item into the view.
|
ContactSelector()
Returns the current contact selector.
ContactViewPreferences()
Gets the view preferences.
CountL()
TInt
|
CountL
|
(
|
)
|
const [virtual]
|
Returns the number of contact items in the view.
DoFind(TContactItemId)
Searches this view for the index of aId. If not found returns KErrNotFound.
FindL(TContactItemId)
Returns the index into the view of the specified contact item.
HandleContactViewEvent(const CContactViewBase &, const TContactViewEvent &)
Handles an event from iBaseView and synchronizes this view's state accordingly.
HandleItemAdded(TContactViewEvent &)
HandleItemAddedL(TContactViewEvent &)
Handles item added event from iBaseView.
HandleItemRemoved(TContactViewEvent &)
HandleItemRemovedL(TContactViewEvent &)
Handles item removed event from iBaseView.
IdsEqual(const TIdWithMapping &, const TIdWithMapping &)
MappingComplete()
void
|
MappingComplete
|
(
|
)
|
[private, inline]
|
MappingError(TInt)
void
|
MappingError
|
(
|
TInt
|
aError
|
)
|
[private, inline]
|
NewL(MContactViewObserver &, const CContactDatabase &, CContactViewBase &, MPbkContactSelector &)
Creates a new instance of this class.
Refresh()
IMPORT_C void
|
Refresh
|
(
|
)
|
|
RemoveBaseViewPreEventHandler(MContactViewObserver &)
RemoveContact(TContactItemId)
Removes a contact from this sub view's set.
ResetMapping()
void
|
ResetMapping
|
(
|
)
|
[private]
|
Resets any mapping currently in progress.
SetContactSelector(MPbkContactSelector &)
SetStateInitializing()
void
|
SetStateInitializing
|
(
|
)
|
[private]
|
SetStateNotReady(const TContactViewEvent &)
Switches this view to ENotReady state and notifies observers with aEvent.
SetStateReady(const TContactViewEvent &)
Switches this view to EReady state and notifies observers with aEvent.
SortOrderL()
Gets the view's sort order.
StartMapping(const TContactViewEvent &)
Starts mapping contacts from iBaseView to this view.
UpdateMappingsL()
TInt
|
UpdateMappingsL
|
(
|
)
|
[private]
|
Updates all this view's index mappings.
Member Data Documentation
CContactViewBase * iBaseView
MPbkContactSelector * iContactSelector
RArray< TIdWithMapping > iFilteredIdArray
CMapper * iMapper
CMapper *
|
iMapper
|
[private]
|
TContactViewEvent
iMappingCompleteEvent
RPointerArray< MContactViewObserver > iPreBaseViewObservers
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.