CContactTemplate Class Reference

class CContactTemplate : public CContactItem

A contact item template.

This is a contact item which is used to seed the initial field set for other contact items.

Non-system (i.e. user-defined) templates are implemented by the CContactCardTemplate class. CContactCardTemplate should be used in preference to CContactTemplate .

Inherits from

Public Member Functions
IMPORT_C CContactTemplate * NewL ()
IMPORT_C CContactTemplate * NewL (const CContactItem *)
IMPORT_C CContactTemplate * NewLC ()
IMPORT_C CContactTemplate * NewLC (const CContactItem *)
IMPORT_C TUid Type ()
Private Member Functions
CContactTemplate ()
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()
CContactItem::AccessCount()const
CContactItem::AddFieldL(CContactItemField &)
CContactItem::AddLabelFieldL()
CContactItem::Agent()
CContactItem::Attributes()const
CContactItem::CardFields()const
CContactItem::ClearFieldContent()
CContactItem::DecAccessCount()
CContactItem::ExternalizeL(RWriteStream &)const
CContactItem::Guid()
CContactItem::Id()const
CContactItem::IncAccessCount()
CContactItem::InsertFieldL(CContactItemField &,TInt)
CContactItem::InternalizeL(RReadStream &)
CContactItem::IsDeletable()
CContactItem::IsDeleted()const
CContactItem::IsHidden()
CContactItem::IsSystem()
CContactItem::LastModified()const
CContactItem::NewLC(RReadStream &)
CContactItem::NewLC(TUid)
CContactItem::PopulateStoreL(CStreamStore &,CArrayFix< TFieldHeader > &)const
CContactItem::RemoveField(TInt)
CContactItem::RestoreTemplateFieldsL(const CContactItemFieldSet &,const CContactItemFieldSet &,const CContactItemViewDef &)
CContactItem::SetAccessCount(TUint32)
CContactItem::SetAttributes(TUint32)
CContactItem::SetCreationDate(const TTime &)
CContactItem::SetDeleted(TBool)
CContactItem::SetHidden(TBool)
CContactItem::SetId(TContactItemId)
CContactItem::SetLastModified(const TTime &)
CContactItem::SetSystem(TBool)
CContactItem::SetTemplateRefId(TContactItemId)
CContactItem::SetUidStringL(TDesC &)
CContactItem::TemplateRefId()const
CContactItem::UidStringL(TInt64)const
CContactItem::UpdateFieldSet(CContactItemFieldSet *)
CContactItem::~CContactItem()
Inherited Enumerations
CContactItem:@64

Constructor & Destructor Documentation

CContactTemplate()

CContactTemplate ( ) [private]

Member Functions Documentation

NewL()

IMPORT_C CContactTemplate * NewL ( ) [static]

Allocates and constructs a new default system template.

NewL(const CContactItem *)

IMPORT_C CContactTemplate * NewL ( const CContactItem * aTemplate ) [static]

Allocates and constructs a new system template seeded from another one.

Parameters

const CContactItem * aTemplate The contact template to copy.

NewLC()

IMPORT_C CContactTemplate * NewLC ( ) [static]

Allocates and constructs a new default system template.

NewLC(const CContactItem *)

IMPORT_C CContactTemplate * NewLC ( const CContactItem * aTemplate ) [static]

Allocates and constructs a new system template seeded from another one.

Parameters

const CContactItem * aTemplate The contact template to copy.

Type()

IMPORT_C TUid Type ( ) const [virtual]