CMsgRecipientItem Class Reference

class CMsgRecipientItem : public CBase

Recipient class for address control.

Inherits from

Public Member Functions
~CMsgRecipientItem()
IMPORT_C HBufC *Address()
IMPORT_C const MVPbkContactLink *ContactLink()
IMPORT_C TContactItemIdId()
IMPORT_C TBoolIsValidated()
IMPORT_C TBoolIsVerified()
IMPORT_C HBufC *Name()
IMPORT_C CMsgRecipientItem *NewL(const TDesC &, const TDesC &)
IMPORT_C CMsgRecipientItem *NewLC(const TDesC &, const TDesC &)
IMPORT_C voidSetAddressL(const TDesC &)
IMPORT_C voidSetContactLink(const MVPbkContactLink *)
IMPORT_C voidSetId(TContactItemId)
IMPORT_C voidSetNameL(const TDesC &)
IMPORT_C voidSetValidated(TBool)
IMPORT_C voidSetVerified(TBool)
Protected Member Functions
CMsgRecipientItem()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
HBufC *iAddress
const MVPbkContactLink *iContactLink
HBufC *iName
TBool iValidated
TBool iVerified

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 TContactItemIdId()

Returns contact id.

IsValidated()

IMPORT_C TBoolIsValidated()

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

IsVerified()

IMPORT_C TBoolIsVerified()

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 voidSetAddressL(const TDesC &aAddress)

Sets address.

Parameters

const TDesC & aAddress

SetContactLink(const MVPbkContactLink *)

IMPORT_C voidSetContactLink(const MVPbkContactLink *aContactLink)

Sets contact id.

Parameters

const MVPbkContactLink * aContactLink

SetId(TContactItemId)

IMPORT_C voidSetId(TContactItemIdaId)

Sets contact id.

Parameters

TContactItemId aId

SetNameL(const TDesC &)

IMPORT_C voidSetNameL(const TDesC &aName)

Sets name.

Parameters

const TDesC & aName

SetValidated(TBool)

IMPORT_C voidSetValidated(TBoolaValidated)

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

Parameters

TBool aValidated

SetVerified(TBool)

IMPORT_C voidSetVerified(TBoolaVerified)

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]