CPbk2IconArray Class Reference
class CPbk2IconArray : public CArrayPtrFlat< CGulIcon > |
An icon array for Phonebook 2 icons. Responsible for:
Nested Classes and Structures
Inherited Functions |
---|
| CArrayFix< CGulIcon * >::AppendL(const CGulIcon *&) |
| CArrayFix< CGulIcon * >::AppendL(const CGulIcon *&,TInt) |
| CArrayFix< CGulIcon * >::AppendL(const CGulIcon **,TInt) |
| CArrayFix< CGulIcon * >::Array()const |
| CArrayFix< CGulIcon * >::At(TInt) |
| CArrayFix< CGulIcon * >::At(TInt)const |
| CArrayFix< CGulIcon * >::Back(TInt) |
| CArrayFix< CGulIcon * >::Back(TInt)const |
| CArrayFix< CGulIcon * >::CArrayFix(TBufRep,TInt) |
| CArrayFix< CGulIcon * >::End(TInt) |
| CArrayFix< CGulIcon * >::End(TInt)const |
| CArrayFix< CGulIcon * >::ExpandL(TInt) |
| CArrayFix< CGulIcon * >::ExtendL() |
| CArrayFix< CGulIcon * >::Find(const CGulIcon *&,TKeyArrayFix &,TInt &)const |
| CArrayFix< CGulIcon * >::FindIsq(const CGulIcon *&,TKeyArrayFix &,TInt &)const |
| CArrayFix< CGulIcon * >::InsertIsqAllowDuplicatesL(const CGulIcon *&,TKeyArrayFix &) |
| CArrayFix< CGulIcon * >::InsertIsqL(const CGulIcon *&,TKeyArrayFix &) |
| CArrayFix< CGulIcon * >::InsertL(TInt,const CGulIcon *&) |
| CArrayFix< CGulIcon * >::InsertL(TInt,const CGulIcon *&,TInt) |
| CArrayFix< CGulIcon * >::InsertL(TInt,const CGulIcon **,TInt) |
| CArrayFix< CGulIcon * >::ResizeL(TInt) |
| CArrayFix< CGulIcon * >::ResizeL(TInt,const CGulIcon *&) |
| CArrayFix< CGulIcon * >::operator[](TInt) |
| CArrayFix< CGulIcon * >::operator[](TInt)const |
| CArrayFixBase::AtR(const CBase *,TInt) |
| CArrayFixBase::CArrayFixBase(TBufRep,TInt,TInt) |
| CArrayFixBase::Compress() |
| CArrayFixBase::Count()const |
| CArrayFixBase::CountR(const CBase *) |
| CArrayFixBase::Delete(TInt) |
| CArrayFixBase::Delete(TInt,TInt) |
| CArrayFixBase::Find(const TAny *,TKeyArrayFix &,TInt &)const |
| CArrayFixBase::FindIsq(const TAny *,TKeyArrayFix &,TInt &)const |
| CArrayFixBase::InsertIsqAllowDuplicatesL(const TAny *,TKeyArrayFix &) |
| CArrayFixBase::InsertIsqL(const TAny *,TKeyArrayFix &) |
| CArrayFixBase::InsertL(TInt,const TAny *) |
| CArrayFixBase::InsertL(TInt,const TAny *,TInt) |
| CArrayFixBase::InsertRepL(TInt,const TAny *,TInt) |
| CArrayFixBase::Length()const |
| CArrayFixBase::Reset() |
| CArrayFixBase::ResizeL(TInt,const TAny *) |
| CArrayFixBase::SetKey(TKeyArrayFix &)const |
| CArrayFixBase::SetReserveFlatL(TInt) |
| CArrayFixBase::Sort(TKeyArrayFix &) |
| CArrayFixBase::~CArrayFixBase() |
| CArrayPtr< CGulIcon >::CArrayPtr(TBufRep,TInt) |
| CArrayPtr< CGulIcon >::ResetAndDestroy() |
| CArrayPtrFlat< CGulIcon >::CArrayPtrFlat(TInt) |
| CArrayPtrFlat< CGulIcon >::SetReserveL(TInt) |
| 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() |
Constructor & Destructor Documentation
CPbk2IconArray()
CPbk2IconArray | ( | ) | [private] |
~CPbk2IconArray()
Destructor. Calls ResetAndDestroy.
Member Functions Documentation
AppendDefaultIconsL(const CPbk2IconFactory &)
AppendIconL(CGulIcon *, const TPbk2IconId &)
Appends a new icon to this array. Takes ownership of the icon. Doesn't change the if of this array.
AppendIconL(CPbk2IconInfo *)
Appends a new icon to this array.
Parameters
CPbk2IconInfo * aIconInfo | Icon to be appended. Ownership of the iconInfo is taken. |
AppendIconWithMappingL(const CPbk2IconFactory &, const TPbk2IconId &)
AppendIconsFromResourceL(TResourceReader &, const CPbk2IconInfoContainer &)
Appends new icons from given resource to this array. Doesn't change the if of this array.
BaseConstructL()
void | BaseConstructL | ( | ) | [private] |
ConstructL()
void | ConstructL | ( | ) | [private] |
ConstructL(TResourceReader &)
ConstructL(const MPbk2FieldPropertyArray &)
ConstructL(TResourceReader &, const CPbk2IconInfoContainer &)
DoAppendIconsFromResourceL(TResourceReader &, const CPbk2IconFactory &, TBool)
DoRefreshL(const CPbk2IconFactory &)
FindAndCreateIconL(const TPbk2IconId &)
This function first calls FindIcon, and if it doesn't find the icon it creates it by using core Phonebook 2 icons. The created icon is then appended to this array. If the icon id is defined in Phonebook UI extension then it is not possible to create it by using this function.
FindIcon(const TPbk2IconId &)
Returns the index of the icon with aIconId in this array.
Id()
Returns the Phonebook 2 icon array id.
NewL(TResourceReader &)
Constructs an array of core Phonebook 2 icons specified in the resource.
Parameters
TResourceReader & aReader | A resource reader pointed to PBK2_ICON_ARRAY resource. |
NewL(const MPbk2FieldPropertyArray &)
Constructs a core Phonebook 2 field type icon array. Adds qgn_indi_marked_add into first position as the Avkon needs that. Adds also en empty icon qgn_prop_nrtyp_empty to make it always available. The id of this array is EPbk2FieldTypeIconArrayId after the construction.
Parameters
const MPbk2FieldPropertyArray & aFieldProperties | Phonebook 2 field properties. Reference is not saved but used in construction only. |
NewL(TResourceReader &, const CPbk2IconInfoContainer &)
Constructs an icon array using a given icon info container.
RefreshL()
Refreshes core Phonebook 2 icons.
RefreshL(const CPbk2IconInfoContainer &)
Refreshes the icons from the given container.
RemoveIcon(const TPbk2IconId &)
ReserveMemoryL(TInt)
void | ReserveMemoryL | ( | TInt | aAmount | ) | [private] |
Member Data Documentation
TPbk2IconArrayId
iArrayId
CPbk2IconFactory * iIconFactory
CIdArray * iIdMap
CIdArray * | iIdMap | [private] |
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.