This class extends Symbian Contacts model CContactItemField class capabilities to better suit Phonebook's needs.
|
Public Member Functions |
IMPORT_C | TPbkContactItemField () |
| C++ default constructor.
|
IMPORT_C | TPbkContactItemField (CContactItemField *aField, CPbkFieldInfo *aFieldInfo) |
| C++ constructor.
|
IMPORT_C void | Set (CContactItemField *aField, CPbkFieldInfo *aFieldInfo) |
| Sets the contents of this object after construction.
|
IMPORT_C TPbkIconId | IconId () const |
| Returns an Phonebook icon id for this field.
|
IMPORT_C CPbkFieldInfo & | FieldInfo () const |
| Returns the Phonebook field info object of this field.
|
IMPORT_C TPtrC | Text () const |
| Returns this field's textual content.
|
IMPORT_C TTime | Time () const |
| Returns this field's date/time content.
|
IMPORT_C void | GetTextL (TDes &aText) const |
| Fills aText with field's text content.
|
IMPORT_C TStorageType | StorageType () const |
| Returns the storage type of this field.
|
IMPORT_C CContactItemField & | ItemField () const |
| Returns the embedded contact item field.
|
IMPORT_C CContactTextField * | TextStorage () const |
| Returns the text storage object of this field.
|
IMPORT_C TPtrC | Label () const |
| Returns the label text of this field.
|
IMPORT_C void | SetLabelL (const TDesC &aLabel) |
| Sets the label text of this field to aLabel.
|
IMPORT_C void | SetHidden (TBool aHidden) |
| Marks this field as hidden or unhidden.
|
IMPORT_C TBool | IsHidden () const |
| Check if field is marked hidden.
|
IMPORT_C CContactDateField * | DateTimeStorage () const |
| Returns time storage of this field.
|
IMPORT_C TBool | IsSame (const TPbkContactItemField &aField) const |
| Returns ETrue if this is the same field as aField.
|
IMPORT_C CContactItemField & | ContactItemField () |
| Converts this field to a CContactItemField.
|
IMPORT_C const CContactItemField & | ContactItemField () const |
| Converts this field to a const CContactItemField.
|
IMPORT_C TInt | Compare (const TPbkContactItemField &aRhs) const |
| Compares two items against the group ordering.
|
IMPORT_C TInt | UniqueFieldIdentity () const |
| Returns an unique id for this field.
|
IMPORT_C TBool | IsEmpty () const |
| Returns ETrue if this field's contents is empty.
|
IMPORT_C TBool | IsEmptyOrAllSpaces () const |
| Returns ETrue if this field's contents is empty or all spaces.
|
IMPORT_C TBool | DefaultPhoneNumberField () const |
| Returns ETrue is this field is a default phone number field.
|
IMPORT_C TBool | DefaultVideoNumberField () const |
| Returns ETrue if this field is a default video number field.
|
IMPORT_C TBool | DefaultSmsField () const |
| Returns ETrue is this field is a default SMS field.
|
IMPORT_C TBool | DefaultEmailOverSmsField () const |
| Returns ETrue is this field is a default SMS With Email field.
|
IMPORT_C TBool | DefaultEmailField () const |
| Returns ETrue is this field is a default email field.
|
IMPORT_C TBool | DefaultMmsField () const |
| Returns ETrue is this field is a default MMS field.
|
IMPORT_C TBool | DefaultPocField () const |
| Returns ETrue is this field is a default POC field.
|
IMPORT_C TBool | DefaultVoipField () const |
| Returns ETrue is this field is a default VOIP field.
|
IMPORT_C CArrayFix< TInt > * | SpeedDialIndexesL () const |
| Returns an array of speed dial indexes assigned to this field, NULL if none.
|
IMPORT_C TStorageType | PbkFieldType () const |
| Returns the type of this field data.
|
IMPORT_C TPbkFieldId | PbkFieldId () const |
| Returns the field id of this field data.
|
IMPORT_C TPtrC | PbkFieldText () const |
| Returns the text value of this field data.
|
IMPORT_C TTime | PbkFieldTime () const |
| Returns the Time value of this field data.
|
Friends |
class | CPbkContactItem |
| CPbkContactItem calls private functions of this class.
|
IMPORT_C TBool | operator== (const TPbkContactItemField &aLeft, const TPbkContactItemField &aRight) |
| Returns ETrue if aLeft has same contents as aRight.
|