CVPbkFilteredContactView Class Reference
class CVPbkFilteredContactView : public CBase
|
Virtual Phonebook filtered contact view. This class can be used for filtering an existing view. A client gives the view for filtering and also a contact selector that is used to select contacts from the given view.
Private Member Functions
|
|
CVPbkFilteredContactView
(
MVPbkContactViewBase
&,
MVPbkContactSelector
&, const
MVPbkFieldTypeList
*)
|
void
|
AddObserverError
(
MVPbkContactViewObserver
&,
TInt
)
|
void
|
BuildViewMappingL
()
|
void
|
ConstructL
(
MVPbkContactViewObserver
&)
|
void
|
ContactAddedToView
(
MVPbkContactViewBase
&,
TInt
, const
MVPbkContactLink
&)
|
void
|
ContactRemovedFromView
(
MVPbkContactViewBase
&,
TInt
, const
MVPbkContactLink
&)
|
void
|
ContactViewError
(
MVPbkContactViewBase
&,
TInt
,
TBool
)
|
void
|
ContactViewReady
(
MVPbkContactViewBase
&)
|
void
|
ContactViewUnavailable
(
MVPbkContactViewBase
&)
|
MVPbkContactViewBase
*
|
CreateFilteredViewLC
(
MVPbkContactViewObserver
&, const MDesCArray &, const
MVPbkContactBookmarkCollection
*)
|
void
|
DoAddObserverL
(
MVPbkContactViewObserver
&)
|
void
|
HandleBuildViewMapping
()
|
void
|
UpdateFilterL
(const MDesCArray &, const
MVPbkContactBookmarkCollection
*)
|
TInt
|
UpdateViewMappingAfterAddingL
(
TInt
)
|
TInt
|
UpdateViewMappingAfterDeleting
(
TInt
)
|
Constructor & Destructor Documentation
CVPbkFilteredContactView(MVPbkContactViewBase &, MVPbkContactSelector &, const MVPbkFieldTypeList *)
~CVPbkFilteredContactView()
~CVPbkFilteredContactView
|
(
|
)
|
|
Member Functions Documentation
AddObserverError(MVPbkContactViewObserver &, TInt)
AddObserverL(MVPbkContactViewObserver &)
BuildViewMappingL()
void
|
BuildViewMappingL
|
(
|
)
|
[private]
|
ChangeSortOrderL(const MVPbkFieldTypeList &)
ConstructL(MVPbkContactViewObserver &)
ContactAddedToView(MVPbkContactViewBase &, TInt, const MVPbkContactLink &)
ContactCountL()
TInt
|
ContactCountL
|
(
|
)
|
const [protected]
|
ContactRemovedFromView(MVPbkContactViewBase &, TInt, const MVPbkContactLink &)
ContactViewError(MVPbkContactViewBase &, TInt, TBool)
ContactViewReady(MVPbkContactViewBase &)
ContactViewUnavailable(MVPbkContactViewBase &)
CreateFilteredViewLC(MVPbkContactViewObserver &, const MDesCArray &, const MVPbkContactBookmarkCollection *)
DoAddObserverL(MVPbkContactViewObserver &)
HandleBuildViewMapping()
void
|
HandleBuildViewMapping
|
(
|
)
|
[private]
|
IndexOfBookmarkL(const MVPbkContactBookmark &)
IndexOfLinkL(const MVPbkContactLink &)
MatchContactStore(const TDesC &)
TBool
|
MatchContactStore
|
(
|
const
TDesC
&
|
aContactStoreUri
|
)
|
const [protected]
|
Parameters
const
TDesC
& aContactStoreUri
|
|
MatchContactStoreDomain(const TDesC &)
TBool
|
MatchContactStoreDomain
|
(
|
const
TDesC
&
|
aContactStoreDomain
|
)
|
const [protected]
|
Parameters
const
TDesC
& aContactStoreDomain
|
|
NewL(MVPbkContactViewBase &, MVPbkContactViewObserver &, MVPbkContactSelector &)
Two-phase constructor. NOTE: Does not support find functionality.
NewL(MVPbkContactViewBase &, MVPbkContactViewObserver &, MVPbkContactSelector &, const MVPbkFieldTypeList &)
Two-phase constructor. Note: Supports find functionality.
RefreshL()
void
|
RefreshL
|
(
|
)
|
[protected]
|
RemoveObserver(MVPbkContactViewObserver &)
UpdateFilterL(const MDesCArray &, const MVPbkContactBookmarkCollection *)
UpdateViewMappingAfterAddingL(TInt)
TInt
|
UpdateViewMappingAfterAddingL
|
(
|
TInt
|
aBaseIndex
|
)
|
[private]
|
UpdateViewMappingAfterDeleting(TInt)
TInt
|
UpdateViewMappingAfterDeleting
|
(
|
TInt
|
aBaseIndex
|
)
|
[private]
|
Member Data Documentation
VPbkEngUtils::CVPbkAsyncOperation * iAsyncOperation
MVPbkContactViewBase & iBaseView
RArray< TInt > iContactMapping
MVPbkContactSelector & iContactSelector
const MVPbkFieldTypeList * iMasterFieldTypeList
RPointerArray< MVPbkContactViewObserver > iObservers
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.