TPbkContactEntry Class Reference
Constructor & Destructor Documentation
TPbkContactEntry()
TPbkContactEntry | ( | ) | [inline] |
Member Functions Documentation
ContactId()
Returns the contact id of this entry.
Destroy()
Destroys all resources held by this object. After calling Destroy() this object is unusable.
Destroy(TAny *)
void | Destroy | ( | TAny * | aSelf | ) | [private, static] |
IconId()
Returns the Phonebook icon id, EPbkNullIconId means no icon.
Name()
const TDesC & | Name | ( | ) | const [inline] |
NameBuf()
Returns a modifiable descriptor to the name buffer. Call ReserveNameMaxLengthL() first to allocate space for the buffer.
ReserveL(HBufC *, TInt)
IMPORT_C HBufC * | ReserveL | ( | HBufC * | aBuf, |
| TInt | aMaxLength |
| ) | [private, static] |
Reserves space for a HBufC member.
Parameters
HBufC * aBuf | the buffer member to be enlarged |
TInt aMaxLength | the maximum number of characters the buffer should be able to hold. If aMaxLength==0 this function does nothing. |
ReserveNameMaxLengthL(TInt)
void | ReserveNameMaxLengthL | ( | TInt | aMaxLength | ) | [inline] |
Reserves space for the name. Does not change existing name text.
Reset()
Resets the contents of this entry.
ResetHBufC(HBufC *)
void | ResetHBufC | ( | HBufC * | aBuf | ) | [private, static, inline] |
Resets member aBuf to empty text. ToTDesC(aBuf).Length()==0
ResetName()
Resets the name of this entry.
Name().Length()==0
SetContactItemId(TContactItemId)
Sets the contact item id.
ToTDesC(HBufC *)
const TDesC & | ToTDesC | ( | HBufC * | aBuf | ) | [private, static, inline] |
Returns contents of aBuf as a const TDesC& or KNullDesC if !aBuf.
Member Data Documentation
TContactItemId
iContactId
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.