QtMobility Reference Documentation

QContactHobby Class Reference

The QContactHobby class contains a hobby of the contact. More...

 #include <QContactHobby>

Inherits: QContactDetail.

Public Functions

QString hobby () const
void setHobby ( const QString & hobby )

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldHobby

Detailed Description

The QContactHobby class contains a hobby of the contact.

A contact may have one or more hobbies. Each QContactHobby detail contains information about a single hobby of the contact.

Member Function Documentation

QString QContactHobby::hobby () const

Returns the hobby associated with a contact which is stored in this detail.

See also setHobby().

void QContactHobby::setHobby ( const QString & hobby )

Sets the hobby associated with a contact which is stored in this detail to hobby.

See also hobby().

Member Variable Documentation

const QLatin1Constant QContactHobby::DefinitionName

The string constant for the definition name of QContactHobby details.

const QLatin1Constant QContactHobby::FieldHobby

The field key constant for the value containing the name of the hobby.

See also hobby() and setHobby().

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.