Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <CNTITEM.H>
Link against: cntmodel.lib

Class CContactTemplate

class CContactTemplate : public CContactItem;

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.

Derivation

Members

Defined in CContactTemplate:

Inherited from CBase:

Inherited from CContactItem:


Construction and destruction


NewL()

static IMPORT_C CContactTemplate *NewL();

Description

Allocates and constructs a new default system template.

Return value

CContactTemplate *

Pointer to the newly created system template.


NewLC()

static IMPORT_C CContactTemplate *NewLC();

Description

Allocates and constructs a new default system template.

Return value

CContactTemplate *

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


NewL()

static IMPORT_C CContactTemplate *NewL(const CContactItem *aTemplate);

Description

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

Parameters

const CContactItem *aTemplate

The contact template to copy.

Return value

CContactTemplate *

Pointer to the newly created system template.


NewLC()

static IMPORT_C CContactTemplate *NewLC(const CContactItem *aTemplate);

Description

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

Parameters

const CContactItem *aTemplate

The contact template to copy.

Return value

CContactTemplate *

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

[Top]


Member functions


Type()

virtual IMPORT_C TUid Type() const;

Description

Implements CContactItem::Type().

Return value

TUid

KUidContactTemplate.