MPbk2ContactUiControl2 Class Reference

class MPbk2ContactUiControl2

This class is an extension to MPbk2ContactUiControl. See documentation of MVPbkStoreContact from header MPbk2ContactUiControl.h

Public Member Functions
~MPbk2ContactUiControl2()
voidAddCommandItemL(MPbk2UiControlCmdItem *, TInt)
const MPbk2UiControlCmdItem &CommandItemAt(TInt)
TInt CommandItemCount()
voidDeleteCommandItemL(TInt)
const MPbk2UiControlCmdItem *FocusedCommandItem()

Constructor & Destructor Documentation

~MPbk2ContactUiControl2()

~MPbk2ContactUiControl2()[inline, virtual]

Destructor.

Member Functions Documentation

AddCommandItemL(MPbk2UiControlCmdItem *, TInt)

voidAddCommandItemL(MPbk2UiControlCmdItem *aCommand,
TIntaIndex
)[pure virtual]

Adds a command item to the list if not already added. Transfers ownership of aCommand to the called object.

Parameters

MPbk2UiControlCmdItem * aCommandThe command item that is to be added
TInt aIndexIndex to which the command item that is to be added must not be greater than CommandItemCount()

CommandItemAt(TInt)

const MPbk2UiControlCmdItem &CommandItemAt(TIntaIndex)const [pure virtual]

Gives a certain command item. CommandItemCount()

Parameters

TInt aIndexThe index of the command item.

CommandItemCount()

TInt CommandItemCount()const [pure virtual]

Number of command items.

DeleteCommandItemL(TInt)

voidDeleteCommandItemL(TIntaIndex)[pure virtual]

Deletes a command item from the list.

Parameters

TInt aIndexThe command item that is to be deleted.

FocusedCommandItem()

const MPbk2UiControlCmdItem *FocusedCommandItem()const [pure virtual]

Gives a focused command item, or NULL if no command item is currently focused.