QtMobility Reference Documentation

QContactOrganization Class Reference

The QContactOrganization class provides details about an organization that the contact is either a part of, or stands for. More...

 #include <QContactOrganization>

Inherits: QContactDetail.

This class was introduced in Qt Mobility 1.0.

Public Functions

QString assistantName () const
QStringList department () const
QString location () const
QUrl logoUrl () const
QString name () const
QString role () const
void setAssistantName ( const QString & assistantName )
void setDepartment ( const QStringList & department )
void setLocation ( const QString & location )
void setLogoUrl ( const QUrl & logo )
void setName ( const QString & name )
void setRole ( const QString & role )
void setTitle ( const QString & title )
QString title () const

Static Public Members

const QLatin1Constant DefinitionName
const QLatin1Constant FieldAssistantName
const QLatin1Constant FieldDepartment
const QLatin1Constant FieldLocation
const QLatin1Constant FieldLogoUrl
const QLatin1Constant FieldName
const QLatin1Constant FieldRole
const QLatin1Constant FieldTitle

Detailed Description

The QContactOrganization class provides details about an organization that the contact is either a part of, or stands for.

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

Member Function Documentation

QString QContactOrganization::assistantName () const

Returns the name of the default assistant of contacts belonging to this organization.

This function was introduced in Qt Mobility 1.0.

See also setAssistantName().

QStringList QContactOrganization::department () const

Returns the contact's department stored in this detail.

This function was introduced in Qt Mobility 1.0.

See also setDepartment().

QString QContactOrganization::location () const

Returns the location of the organization stored in this detail.

This function was introduced in Qt Mobility 1.0.

See also setLocation().

QUrl QContactOrganization::logoUrl () const

Returns the url of the logo of the organization stored in this detail.

This function was introduced in Qt Mobility 1.0.

See also setLogoUrl().

QString QContactOrganization::name () const

Returns the name of the organization stored in this detail.

This function was introduced in Qt Mobility 1.0.

See also setName().

QString QContactOrganization::role () const

Returns the contact's role within the organization stored in this detail.

This function was introduced in Qt Mobility 1.0.

See also setRole().

void QContactOrganization::setAssistantName ( const QString & assistantName )

Sets the name of the default assistant of contacts belonging to this organization to assistantName.

This function was introduced in Qt Mobility 1.0.

See also assistantName().

void QContactOrganization::setDepartment ( const QStringList & department )

Sets the contact's department of the organization stored in this detail to department. The department is a list of progressively finer-grained information.

This function was introduced in Qt Mobility 1.0.

See also department().

void QContactOrganization::setLocation ( const QString & location )

Sets the location (e.g. city or suburb) of the organization stored in this detail to location.

This function was introduced in Qt Mobility 1.0.

See also location().

void QContactOrganization::setLogoUrl ( const QUrl & logo )

Sets the url of the logo of the organization stored in this detail to logo.

This function was introduced in Qt Mobility 1.0.

See also logoUrl().

void QContactOrganization::setName ( const QString & name )

Sets the name of the organization stored in this detail to name.

This function was introduced in Qt Mobility 1.0.

See also name().

void QContactOrganization::setRole ( const QString & role )

Sets the contact's role within the organization stored in this detail to role.

This function was introduced in Qt Mobility 1.0.

See also role().

void QContactOrganization::setTitle ( const QString & title )

Sets the contact's title within the organization stored in this detail to title.

This function was introduced in Qt Mobility 1.0.

See also title().

QString QContactOrganization::title () const

Returns the contact's title within the organization stored in this detail.

This function was introduced in Qt Mobility 1.0.

See also setTitle().

Member Variable Documentation

const QLatin1Constant QContactOrganization::DefinitionName

The string constant for the definition name of QContactOrganization details.

const QLatin1Constant QContactOrganization::FieldAssistantName

The field key constant for the value of the name of the contact's assistant.

See also assistantName() and setAssistantName().

const QLatin1Constant QContactOrganization::FieldDepartment

The field key constant for the value of the department name.

See also department() and setDepartment().

const QLatin1Constant QContactOrganization::FieldLocation

The field key constant for the value of the location of the organization.

See also location() and setLocation().

const QLatin1Constant QContactOrganization::FieldLogoUrl

The field key constant for the URL of the organization logo image.

See also logoUrl() and setLogoUrl().

const QLatin1Constant QContactOrganization::FieldName

The field key constant for the value of the organization name.

See also name() and setName().

const QLatin1Constant QContactOrganization::FieldRole

The field key constant for the value of the contact's role in the organization.

See also role() and setRole().

const QLatin1Constant QContactOrganization::FieldTitle

The field key constant for the value of the contact's title in the organization.

See also title() and setTitle().

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.