Qt Mobility Reference Documentation

QContactFamily Class Reference

The QContactFamily class contains names of family members of a contact. More...

 #include <QContactFamily>

Inherits QContactDetail.

Public Functions

QStringList children () const
void setChildren ( const QStringList & childrenNames )
void setSpouse ( const QString & spouseName )
QString spouse () const

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldChildren
const QLatin1Constant FieldSpouse

Detailed Description

The QContactFamily class contains names of family members of a contact.

This leaf-class has been part of the default schema since version 1.1 of the Qt Mobility project.

Member Function Documentation

QStringList QContactFamily::children () const

Returns the names of the children of the contact which is stored in this detail.

See also setChildren().

void QContactFamily::setChildren ( const QStringList & childrenNames )

Sets the names of the children of the contact which is stored in this detail to childrenNames.

See also children().

void QContactFamily::setSpouse ( const QString & spouseName )

Sets the name of the spouse of the contact which is stored in this detail to spouseName.

See also spouse().

QString QContactFamily::spouse () const

Returns the name of the spouse of the contact which is stored in this detail.

See also setSpouse().

Member Variable Documentation

const QLatin1Constant QContactFamily::DefinitionName

The string constant for the definition name of QContactFamily details.

const QLatin1Constant QContactFamily::FieldChildren

The field key constant for the value containing the names of children.

See also children() and setChildren().

const QLatin1Constant QContactFamily::FieldSpouse

The field key constant for the value containing the name of a spouse.

See also spouse() and setSpouse().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.