CVPbkSpeedDialAttribute Class Reference

class CVPbkSpeedDialAttribute : public CBase

Virtual Phonebook Speed dial attribute. Responsible for encapsulating the speed dial attribute management for contacts.

Inherits from

Constructor & Destructor Documentation

CVPbkSpeedDialAttribute()

CVPbkSpeedDialAttribute ( ) [private]

~CVPbkSpeedDialAttribute()

~CVPbkSpeedDialAttribute ( )

Destructor.

Member Functions Documentation

AttributeType()

TUid AttributeType ( ) const

CloneLC()

MVPbkContactAttribute * CloneLC ( ) const

Index()

IMPORT_C TInt Index ( ) const

Returns index of the speed dial attribute.

NewL(TInt)

IMPORT_C CVPbkSpeedDialAttribute * NewL ( TInt aIndex ) [static]

Two-phased constructor.

Parameters

TInt aIndex Speed dial index.

NewL()

IMPORT_C CVPbkSpeedDialAttribute * NewL ( ) [static]

Two-phased constructor. Index will be initialised with KSpeedDialIndexNotDefined. Using this constructor it's possible to handle all the contacts that have speed dials assigned. E.g. remove all speed dial assignments or list all speed dial assignments.

SetIndex(TInt)

IMPORT_C void SetIndex ( TInt aIndex )

Sets new index for speed dial attribute.

Parameters

TInt aIndex a new index

Uid()

TUid Uid ( ) [static, inline]

Internal identification of speed dial attribute.

Member Data Documentation

const TInt KSpeedDialIndexNotDefined

const TInt KSpeedDialIndexNotDefined [static]

An undefined speed dial index. When this is used then implementation will assume that client is interested in all speed dial indexes.

TInt iIndex

TInt iIndex [private]