SelectedContactAttribute

Since: BlackBerry 10.0.0

#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.


Overview

Public Functions Index

SelectedContactAttribute ()
SelectedContactAttribute (const SelectedContactAttribute &copy)
virtual ~SelectedContactAttribute ()
bb::pim::contacts::AttributeKind::TypeattributeKind () const
bb::pim::contacts::AttributeSubKind::TypeattributeSubKind () const
intcontactId () const
booloperator!= (const SelectedContactAttribute &operand) const
SelectedContactAttribute &operator= (const SelectedContactAttribute &operand)
booloperator== (const SelectedContactAttribute &operand) const
voidsetAttributeKind (bb::pim::contacts::AttributeKind::Type attributeKind)
voidsetAttributeSubKind (bb::pim::contacts::AttributeSubKind::Type attributeSubKind)
voidsetContactId (int contactId)
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

virtual~SelectedContactAttribute ()

Destructor.

Since:

BlackBerry 10.0.0

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

The kind of selected attribute.

Since:

BlackBerry 10.0.0

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

The subKind of selected attribute.

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

bool operator!= (

Not equals operator.

Since:

BlackBerry 10.0.0

SelectedContactAttribute & operator= (

Assignment operator.

Since:

BlackBerry 10.0.0

bool operator== (

Equals operator.

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

void setAttributeSubKind (

Sets the value of the selected attribute's subKind.

Parameters
attributeSubKind

- the subKind of the 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

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

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus