CContactTemplate Class Reference

#include <app/cntitem.h>

class CContactTemplate : public CContactItem, public CContactItem
Public Member Functions
IMPORT_C CContactTemplate *NewL()
IMPORT_C CContactTemplate *NewL(const CContactItem *)
IMPORT_C CContactTemplate *NewLC()
IMPORT_C CContactTemplate *NewLC(const CContactItem *)
virtual IMPORT_C TUidType()
Inherited Enumerations
CContactItem:@19
CContactItem:@3
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()

Detailed Description

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.

Member Function Documentation

NewL ( )

IMPORT_C CContactTemplate *NewL()[static]

Allocates and constructs a new default system template.

Return Value
Pointer to the newly created 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
aTemplateThe contact template to copy.
Return Value
Pointer to the newly created system template.

NewLC ( )

IMPORT_C CContactTemplate *NewLC()[static]

Allocates and constructs a new default system template.

Return Value
Pointer to the newly created system template. This is left on the cleanup stack.

NewLC ( const CContactItem * )

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

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

Parameters
aTemplateThe contact template to copy.
Return Value
Pointer to the newly created system template. This is left on the cleanup stack.

Type ( )

IMPORT_C TUidType()const [virtual]

Reimplemented from CContactItem::Type()const

Implements CContactItem::Type().

Return Value
KUidContactTemplate.