CMsgRecipientItem Class Reference

class CMsgRecipientItem : public CBase

Recipient class for address control.

Inherits from

Constructor & Destructor Documentation

CMsgRecipientItem()

CMsgRecipientItem ( ) [protected]

Constructor.

~CMsgRecipientItem()

~CMsgRecipientItem ( )

Destructor.

Member Functions Documentation

Address()

IMPORT_C HBufC * Address ( )

Returns address.

ContactLink()

IMPORT_C const MVPbkContactLink * ContactLink ( )

Returns contact id.

Id()

IMPORT_C TContactItemId Id ( )

Returns contact id.

IsValidated()

IMPORT_C TBool IsValidated ( )

Returns validated flag (i.e. entry is in correct format).

IsVerified()

IMPORT_C TBool IsVerified ( )

Returns verified flag (i.e. entry has been fetched from phonebook).

Name()

IMPORT_C HBufC * Name ( )

Returns name.

NewL(const TDesC &, const TDesC &)

IMPORT_C CMsgRecipientItem * NewL ( const TDesC & aName,
const TDesC & aAddress
) [static]

Factory method that creates this object.

Parameters

const TDesC & aName
const TDesC & aAddress

NewLC(const TDesC &, const TDesC &)

IMPORT_C CMsgRecipientItem * NewLC ( const TDesC & aName,
const TDesC & aAddress
) [static]

Factory method that creates this object.

Parameters

const TDesC & aName
const TDesC & aAddress

SetAddressL(const TDesC &)

IMPORT_C void SetAddressL ( const TDesC & aAddress )

Sets address.

Parameters

const TDesC & aAddress

SetContactLink(const MVPbkContactLink *)

IMPORT_C void SetContactLink ( const MVPbkContactLink * aContactLink )

Sets contact id.

Parameters

const MVPbkContactLink * aContactLink

SetId(TContactItemId)

IMPORT_C void SetId ( TContactItemId aId )

Sets contact id.

Parameters

TContactItemId aId

SetNameL(const TDesC &)

IMPORT_C void SetNameL ( const TDesC & aName )

Sets name.

Parameters

const TDesC & aName

SetValidated(TBool)

IMPORT_C void SetValidated ( TBool aValidated )

Sets validated flag (i.e. entry is in correct format).

Parameters

TBool aValidated

SetVerified(TBool)

IMPORT_C void SetVerified ( TBool aVerified )

Sets verified flag (i.e. entry has been fetched from phonebook).

Parameters

TBool aVerified

Member Data Documentation

HBufC * iAddress

HBufC * iAddress [private]

const MVPbkContactLink * iContactLink

const MVPbkContactLink * iContactLink [private]

HBufC * iName

HBufC * iName [private]

TBool iValidated

TBool iValidated [private]

TBool iVerified

TBool iVerified [private]