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.

Since:

BlackBerry 10.0.0

Public Functions Index

SelectedContactAttribute ()
SelectedContactAttribute (const SelectedContactAttribute &copy)
booloperator== (const SelectedContactAttribute &operand) const
SelectedContactAttribute &operator= (const SelectedContactAttribute &operand)
booloperator!= (const SelectedContactAttribute &operand) const
virtual ~SelectedContactAttribute ()
voidsetAttributeKind (bb::pim::contacts::AttributeKind::Type attributeKind)
bb::pim::contacts::AttributeKind::TypeattributeKind () const
voidsetAttributeSubKind (bb::pim::contacts::AttributeSubKind::Type attributeSubKind)
bb::pim::contacts::AttributeSubKind::TypeattributeSubKind () const
voidsetContactId (int contactId)
intcontactId () const
voidsetValue (const QString &value)
QStringvalue () const

Public Functions

SelectedContactAttribute ()

Constructs a new SelectedContactAttribute.

Since:

BlackBerry 10.0.0

SelectedContactAttribute (

Copy Constructor.

Since:

BlackBerry 10.0.0

bool operator== (

Equals operator.

Since:

BlackBerry 10.0.0

SelectedContactAttribute & operator= (

Assignment operator.

Since:

BlackBerry 10.0.0

bool operator!= (

Not equals operator.

Since:

BlackBerry 10.0.0

virtual~SelectedContactAttribute ()

Destructor.

Since:

BlackBerry 10.0.0

void setAttributeKind (

Sets the value of the selected attribute's kind.

Parameters
attributeKind

- the kind of the selected attribute.

Since:

BlackBerry 10.0.0

bb::pim::contacts::AttributeKind::Type attributeKind ()

The kind of selected attribute.

Since:

BlackBerry 10.0.0

void setAttributeSubKind (

Sets the value of the selected attribute's subKind.

Parameters
attributeSubKind

- the subKind of the selected attribute.

Since:

BlackBerry 10.0.0

bb::pim::contacts::AttributeSubKind::Type attributeSubKind ()

The subKind of selected attribute.

Since:

BlackBerry 10.0.0

void setContactId (
  • intcontactId)

Sets the id of the contact that the selected attribute belongs to.

Parameters
contactId

- the contact id.

Since:

BlackBerry 10.0.0

int contactId ()

The id of the contact that the selected attribute belongs to.

Return:

int - the contact id.

Since:

BlackBerry 10.0.0

void setValue (

Sets the value of the selected attribute.

Parameters
value

- the value of the attribute.

Since:

BlackBerry 10.0.0

QString value ()

The value of the selected attribute.

Return:

QString - the value.

Since:

BlackBerry 10.0.0