CPbk2TabGroupContainer Class Reference

class CPbk2TabGroupContainer : public CBase

Phonebook 2 tab group container. Responsible for creating Phonebook 2 application tab groups and managing the tab groups. The tab groups are created from the view graph data. Clients may also add new tab groups to the container.

Inherits from

  • CPbk2TabGroupContainer

Nested Classes and Structures

Constructor & Destructor Documentation

CPbk2TabGroupContainer(MPbk2ViewExplorer &, MPbk2TabGroupContainerCallback &)

CPbk2TabGroupContainer(MPbk2ViewExplorer &aViewExplorer,
MPbk2TabGroupContainerCallback &aCallback
)[private]

Parameters

MPbk2ViewExplorer & aViewExplorer
MPbk2TabGroupContainerCallback & aCallback

~CPbk2TabGroupContainer()

~CPbk2TabGroupContainer()

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private, inline]

CreateTabGroupsL()

voidCreateTabGroupsL()[private]

DoCalculateTabGroupWidth(TInt)

TInt DoCalculateTabGroupWidth(TIntaViewCount)const [private]

Parameters

TInt aViewCount

DoReadViewNodeTabResourcesL(const CPbk2ViewNode &, CAknTabGroup &, TInt)

voidDoReadViewNodeTabResourcesL(const CPbk2ViewNode &aNode,
CAknTabGroup &aAknTabGroup,
TIntaViewCount
)[private]

Parameters

const CPbk2ViewNode & aNode
CAknTabGroup & aAknTabGroup
TInt aViewCount

FindTabGroupWithIdL(TPbk2TabGroupId)

CAknTabGroup &FindTabGroupWithIdL(TPbk2TabGroupIdaTabGroupId)[private]

Parameters

TPbk2TabGroupId aTabGroupId

HandleNaviDecoratorEventL(TInt)

voidHandleNaviDecoratorEventL(TIntaEventID)[private]

Parameters

TInt aEventID

HandleNavigationKeyEventL(const TKeyEvent &, TEventCode)

IMPORT_C TBoolHandleNavigationKeyEventL(const TKeyEvent &aKeyEvent,
TEventCodeaType
)

Handles navigation key events.

Parameters

const TKeyEvent & aKeyEventKey event to handle.
TEventCode aTypeType of the key event.

NewL(MPbk2ViewExplorer &, MPbk2TabGroupContainerCallback &)

IMPORT_C CPbk2TabGroupContainer *NewL(MPbk2ViewExplorer &aViewExplorer,
MPbk2TabGroupContainerCallback &aCallback
)[static]

Creates a new instance of this class.

Parameters

MPbk2ViewExplorer & aViewExplorerPhonebook 2 view explorer.
MPbk2TabGroupContainerCallback & aCallbackTab group callback.

SkinTabGroupsL()

voidSkinTabGroupsL()[private]

TabChangedL(TInt)

voidTabChangedL(TIntaIndex)[private]

Parameters

TInt aIndex

TabGroupFromViewId(TInt)

IMPORT_C CAknNavigationDecorator *TabGroupFromViewId(TIntaId)const

Returns the tab group associated with given id.

Parameters

TInt aIdId of the tab group.

TabIcons()

IMPORT_C CPbk2IconInfoContainer &TabIcons()const

Returns the tab icons.

Member Data Documentation

MPbk2TabGroupContainerCallback & iCallback

MPbk2TabGroupContainerCallback &iCallback[private]

CPbk2IconInfoContainer * iTabIcons

CPbk2IconInfoContainer *iTabIcons[private]

MPbk2ViewExplorer & iViewExplorer

MPbk2ViewExplorer &iViewExplorer[private]

RPointerArray< CPbk2TabGroupEntry > iViewTabGroups

RPointerArray< CPbk2TabGroupEntry >iViewTabGroups[private]