#include <app/MPbk2FieldProperty.h>
class MPbk2FieldProperty |
Public Member Functions | |
---|---|
pure virtual TInt | AddItemOrdering() |
pure virtual const TDesC & | AddItemText() |
pure virtual TPbk2FieldCtrlType | CtrlType() |
pure virtual TPbk2FieldDefaultCase | DefaultCase() |
pure virtual const TDesC & | DefaultLabel() |
pure virtual TPbk2FieldEditMode | EditMode() |
virtual TAny * | FieldPropertyExtension(TUid) |
pure virtual const MVPbkFieldType & | FieldType() |
pure virtual TUint | Flags() |
pure virtual TPbk2FieldGroupId | GroupId() |
pure virtual const TPbk2IconId & | IconId() |
pure virtual TBool | IsSame(const MPbk2FieldProperty &) |
pure virtual TPbk2FieldLocation | Location() |
pure virtual TInt | MaxLength() |
pure virtual TPbk2FieldMultiplicity | Multiplicity() |
pure virtual TInt | OrderingItem() |
Phonebook 2 field property interface.
Field property defines data for contact field presentation in the UI.
TInt | AddItemOrdering | ( | ) | const [pure virtual] |
Returns the field ordering item in 'add item' dialog.
Returns: Number that defines the ordering of the field in the contact editor add item dialog.
const TDesC & | AddItemText | ( | ) | const [pure virtual] |
Returns field 'add item' text, or the default label if there is no 'add item' text defined.
Returns: Add item text or the default label.
TPbk2FieldCtrlType | CtrlType | ( | ) | const [pure virtual] |
Returns the type of the field editor.
Returns: Type of the field editor (text, date, number etc.).
TPbk2FieldDefaultCase | DefaultCase | ( | ) | const [pure virtual] |
Returns the default character case for the field editor.
Returns: Default character case.
const TDesC & | DefaultLabel | ( | ) | const [pure virtual] |
Returns the default label that should be used if the store doesn't define a label.
Returns: Default label.
TPbk2FieldEditMode | EditMode | ( | ) | const [pure virtual] |
Returns the editing mode for the field editor.
Returns: Field editing mode..
const MVPbkFieldType & | FieldType | ( | ) | const [pure virtual] |
Returns the field type of the property
Returns: The field type this property links to.
TUint | Flags | ( | ) | const [pure virtual] |
Returns the field property flags defined in Pbk2FieldProperty.hrh.
Returns: Field property flags.
TPbk2FieldGroupId | GroupId | ( | ) | const [pure virtual] |
Returns the group id of the property.
Returns: Group id.
const TPbk2IconId & | IconId | ( | ) | const [pure virtual] |
Returns the icon id for the field.
Returns: Icon id.
TBool | IsSame | ( | const MPbk2FieldProperty & | aOther | ) | const [pure virtual] |
Compares two field properties.
Parameter | Description |
---|---|
aOther | The property to compare |
Returns: ETrue if properties are the same.
TPbk2FieldLocation | Location | ( | ) | const [pure virtual] |
Returns the location of the field.
Returns: Location of the field (home, work, etc.).
TInt | MaxLength | ( | ) | const [pure virtual] |
Returns the maximum length of the field.
Returns: Static maximum length of the field. Note, that the contact store can have it's own limits.
TPbk2FieldMultiplicity | Multiplicity | ( | ) | const [pure virtual] |
Returns the multiplicity information
Returns: Multiplicity property which tells that can there be several fields of this type in the contact.
TInt | OrderingItem | ( | ) | const [pure virtual] |
Returns the field ordering item.
Returns: Number that defines the ordering of the field.