CContactOwnCard Class Reference

class CContactOwnCard : public CContactItemPlusGroup

Own card.

An own card is a contact card which contains information about the device's owner. This can be sent to another compatible electronic device as a vCard. The contact database recognises a single own card, referred to as the current own card; its ID is returned by CContactDatabase::OwnCardId(). Like a contact card, an own card can be a member of one or more contact card groups. The own card type is identified by a UID of KUidContactOwnCard.

Own cards can be constructed using either CContactDatabase::CreateOwnCardLC() or CreateOwnCardL(). These functions create an own card, based on the system template, add it to the database, set it as the database's current own card and return a pointer to it. To change the database's current own card, use CContactDatabase::SetOwnCardL().

Inherits from

Public Member Functions
~CContactOwnCard()
IMPORT_C CContactIdArray *GroupsJoinedLC()
IMPORT_C CContactOwnCard *NewL()
IMPORT_C CContactOwnCard *NewL(const CContactItem *)
IMPORT_C CContactOwnCard *NewLC()
IMPORT_C CContactOwnCard *NewLC(const CContactItem *)
IMPORT_C TUidType()
Private Member Functions
CContactOwnCard()
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::Guid()
CContactItem::Id()const
CContactItem::IncAccessCount()
CContactItem::InsertFieldL(CContactItemField &,TInt)
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()
CContactItemPlusGroup::CContactItemPlusGroup()
CContactItemPlusGroup::ExternalizeL(RWriteStream &)const
CContactItemPlusGroup::GroupsJoined()const
CContactItemPlusGroup::InternalizeL(RReadStream &)
CContactItemPlusGroup::ResetGroups()
CContactItemPlusGroup::SetGroups(CContactIdArray *)
CContactItemPlusGroup::~CContactItemPlusGroup()
Inherited Enumerations
CContactItem:@338

Constructor & Destructor Documentation

CContactOwnCard()

CContactOwnCard()[private]

~CContactOwnCard()

IMPORT_C~CContactOwnCard()

Member Functions Documentation

GroupsJoinedLC()

IMPORT_C CContactIdArray *GroupsJoinedLC()const

NewL()

IMPORT_C CContactOwnCard *NewL()[static]

NewL(const CContactItem *)

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

Parameters

const CContactItem * aTemplate

NewLC()

IMPORT_C CContactOwnCard *NewLC()[static]

NewLC(const CContactItem *)

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

Parameters

const CContactItem * aTemplate

Type()

IMPORT_C TUidType()const [virtual]

Gets the contact item's type.

The contact item's type.