CPbk2StoreViewDefinition Class Reference

class CPbk2StoreViewDefinition : public CBase

Phonebook 2 store view definition.

Inherits from

  • CPbk2StoreViewDefinition

Constructor & Destructor Documentation

CPbk2StoreViewDefinition()

CPbk2StoreViewDefinition()[private]

~CPbk2StoreViewDefinition()

~CPbk2StoreViewDefinition()

Destructor.

Member Functions Documentation

ConstructL(TResourceReader &)

voidConstructL(TResourceReader &aReader)[private]

Parameters

TResourceReader & aReader

ConstructL(const CPbk2StoreViewDefinition &)

voidConstructL(const CPbk2StoreViewDefinition &aViewDef)[private]

Parameters

const CPbk2StoreViewDefinition & aViewDef

NewL()

IMPORT_C CPbk2StoreViewDefinition *NewL()[static]

Creates a new instance of this class.

NewLC(TResourceReader &)

IMPORT_C CPbk2StoreViewDefinition *NewLC(TResourceReader &aReader)[static]

Creates a new instance of this class.

Parameters

TResourceReader & aReaderResource reader pointed to a PHONEBOOK2_STORE_VIEW resource.

NewLC(const CPbk2StoreViewDefinition &)

IMPORT_C CPbk2StoreViewDefinition *NewLC(const CPbk2StoreViewDefinition &aViewDef)[static]

Creates a new instance of this class.

Parameters

const CPbk2StoreViewDefinition & aViewDefStore view definition to copy.

SetViewDefinition(CVPbkContactViewDefinition *)

IMPORT_C voidSetViewDefinition(CVPbkContactViewDefinition *aViewDefinition)

Sets the Virtual Phonebook view definition.

Parameters

CVPbkContactViewDefinition * aViewDefinitionVirtual Phonebook view definition. Ownership is taken.

SetViewItemIcon(const TPbk2IconId &)

IMPORT_C voidSetViewItemIcon(const TPbk2IconId &aIconId)

Sets the id of the icon that is displayed at the front of the contacts. The id is one of TPbk2IconIds or an id from an UI extension.

Parameters

const TPbk2IconId & aIconIdIcon id.

SetViewLocation(TPbk2ContactViewLocation)

IMPORT_C voidSetViewLocation(TPbk2ContactViewLocationaLocation)

Sets the view location.

Parameters

TPbk2ContactViewLocation aLocationView location.

SetViewType(TPbk2ContactViewType)

IMPORT_C voidSetViewType(TPbk2ContactViewTypeaType)

Sets the type of the view.

Parameters

TPbk2ContactViewType aTypeType of the view.

ViewDefinition()

IMPORT_C const CVPbkContactViewDefinition &ViewDefinition()const

Returns the Virtual Phonebook view definition.

ViewItemIconId()

IMPORT_C const TPbk2IconId &ViewItemIconId()const

Returns view icon id that is displayed at the front of the contacts of the view.

ViewLocation()

IMPORT_C TPbk2ContactViewLocationViewLocation()const

Returns the view location.

ViewType()

IMPORT_C TPbk2ContactViewTypeViewType()const

Returns the type of the view.

Member Data Documentation

CVPbkContactViewDefinition * iViewDefinition

CVPbkContactViewDefinition *iViewDefinition[private]

TPbk2IconId iViewItemIconId

TPbk2IconId iViewItemIconId[private]

TPbk2ContactViewLocation iViewLocation

TPbk2ContactViewLocation iViewLocation[private]

TPbk2ContactViewType iViewType

TPbk2ContactViewType iViewType[private]