SelectedContactAttribute
#include <bb/cascades/pickers/SelectedContactAttribute>
To link against this class, add the following line to your .pro file: LIBS += -lbbcascadespickers
Represents the selection of an attribute of a contact from the ContactPicker.
This class is used to return the details of the selected attribute when the picker is in attribute selection mode.
BlackBerry 10.0.0
Public Functions Index
| SelectedContactAttribute () | |
| SelectedContactAttribute (const SelectedContactAttribute ©) | |
| bool | operator== (const SelectedContactAttribute &operand) const |
| SelectedContactAttribute & | operator= (const SelectedContactAttribute &operand) |
| bool | operator!= (const SelectedContactAttribute &operand) const |
| virtual | ~SelectedContactAttribute () |
| void | setAttributeKind (bb::pim::contacts::AttributeKind::Type attributeKind) |
| bb::pim::contacts::AttributeKind::Type | attributeKind () const |
| void | setAttributeSubKind (bb::pim::contacts::AttributeSubKind::Type attributeSubKind) |
| bb::pim::contacts::AttributeSubKind::Type | attributeSubKind () const |
| void | setContactId (int contactId) |
| int | contactId () const |
| void | setValue (const QString &value) |
| QString | value () const |
Public Functions
Copy Constructor.
BlackBerry 10.0.0
bool
Equals operator.
BlackBerry 10.0.0
bool
Not equals operator.
BlackBerry 10.0.0
virtual
Destructor.
BlackBerry 10.0.0
void
Sets the value of the selected attribute's kind.
| Parameters | |
|---|---|
| attributeKind |
- the kind of the selected attribute. |
BlackBerry 10.0.0
void
Sets the value of the selected attribute's subKind.
| Parameters | |
|---|---|
| attributeSubKind |
- the subKind of the selected attribute. |
BlackBerry 10.0.0
bb::pim::contacts::AttributeSubKind::Type
The subKind of selected attribute.
BlackBerry 10.0.0
void
Sets the id of the contact that the selected attribute belongs to.
| Parameters | |
|---|---|
| contactId |
- the contact id. |
BlackBerry 10.0.0
int
The id of the contact that the selected attribute belongs to.
int - the contact id.
BlackBerry 10.0.0
void
Sets the value of the selected attribute.
| Parameters | |
|---|---|
| value |
- the value of the attribute. |
BlackBerry 10.0.0