Location:
cntitem.h
Link against: cntmodel.lib
CContactCard
Supported from 5.0
A contact card. Implements the pure virtual Type()
function defined in class CContactItem. Contact cards may
optionally be constructed from a template.
Note: In EPOC Releases 5.0 and 5.1, this class was derived from
CContactItem, rather than from
CContactItemPlusGroup.
|
Defined in CContactCard:
GroupsJoinedLC(), NewL(), NewLC(), Type(), ~CContactCard()
Inherited from CBase:
operator new()
Inherited from CContactItem:
AccessCount(),
AddFieldL(),
CardFields(),
DecAccessCount(),
Id(),
IncAccessCount(),
InsertFieldL(),
IsDeletable(),
IsDeleted(),
IsHidden(),
IsSystem(),
LastModified(),
RemoveField(),
SetDeleteFlag(),
SetDeleted(),
SetHidden(),
SetLastModified(),
SetSystem(),
SetTemplateRefId(),
SetUidStringL(),
TemplateRefId(),
UidStringL(),
UpdateFieldSet()
Inherited from CContactItemPlusGroup:
GroupsJoined()
static CContactCard* NewL();
static CContactCard* NewL(const CContactItem *aTemplate);
Allocates and constructs a new contact card whose field set may
be seeded from a template — overloaded function. The second
overload takes a copy of aTemplate — it does not
take ownership of it.
|
|
static CContactCard* NewLC();
static CContactCard* NewLC(const CContactItem *aTemplate);
Allocates and constructs a new contact card whose field set may
be seeded from a template — overloaded function. The second
overload takes a copy of aTemplate — it does not
take ownership of it. The pointer to the object is left on the cleanup
stack.
|
|
~CContactCard();
The destructor frees all resources owned by the contact card, prior to its destruction.
TUid Type() const;
Implements the pure virtual function inherited from the base
class CContactItem. Returns
KUidContactCard.
|
CContactIdArray* GroupsJoinedLC() const;
Supported from 6.0
Returns a pointer to a list of contact item IDs which identify the groups to which the current contact card belongs.
|