Home · All Classes · All Functions ·

QContactName Class Reference

The QContactName class contains the name of a contact. More...

    #include <QContactName>

Inherits QContactDetail.


Public Functions

QString customLabel () const
QString first () const
QString last () const
QString middle () const
QString prefix () const
void setCustomLabel ( const QString & customLabel )
void setFirst ( const QString & first )
void setLast ( const QString & last )
void setMiddle ( const QString & middle )
void setPrefix ( const QString & prefix )
void setSuffix ( const QString & suffix )
QString suffix () const

Public Variables

const char * DefinitionName
const char * FieldCustomLabel
const char * FieldFirst
const char * FieldLast
const char * FieldMiddle
const char * FieldPrefix
const char * FieldSuffix

Additional Inherited Members


Detailed Description

The QContactName class contains the name of a contact.


Member Function Documentation

QString QContactName::customLabel () const

Returns the custom label of the name stored in this detail.

See also setCustomLabel().

QString QContactName::first () const

Returns the first (given) name segment of the name stored in this detail.

See also setFirst().

QString QContactName::last () const

Returns the last (family, or surname) name segment of the name stored in this detail.

See also setLast().

QString QContactName::middle () const

Returns the middle (additional, or other) name segment of the name stored in this detail.

See also setMiddle().

QString QContactName::prefix () const

Returns the prefix segment of the name stored in this detail.

See also setPrefix().

void QContactName::setCustomLabel ( const QString & customLabel )

Sets the custom label of the name stored in this detail to customLabel.

See also customLabel().

void QContactName::setFirst ( const QString & first )

Sets the first name segment of the name stored in this detail to first.

See also first().

void QContactName::setLast ( const QString & last )

Sets the last name segment of the name stored in this detail to last.

See also last().

void QContactName::setMiddle ( const QString & middle )

Sets the middle name segment of the name stored in this detail to middle.

See also middle().

void QContactName::setPrefix ( const QString & prefix )

Sets the prefix segment of the name stored in this detail to prefix.

See also prefix().

void QContactName::setSuffix ( const QString & suffix )

Sets the suffix segment of the name stored in this detail to suffix.

See also suffix().

QString QContactName::suffix () const

Returns the suffix segment of the name stored in this detail.

See also setSuffix().


Member Variable Documentation

const char * QContactName::DefinitionName

The constant string which identifies the definition of details which are names.

const char * QContactName::FieldCustomLabel

The constant key for which the custom name label value is stored in details of the QContactName type, if supported.

const char * QContactName::FieldFirst

The constant key for which the first name value is stored in details of the QContactName type.

const char * QContactName::FieldLast

The constant key for which the last name value is stored in details of the QContactName type.

const char * QContactName::FieldMiddle

The constant key for which the middle name value is stored in details of the QContactName type.

const char * QContactName::FieldPrefix

The constant key for which the name prefix value is stored in details of the QContactName type.

const char * QContactName::FieldSuffix

The constant key for which the name suffix value is stored in details of the QContactName type.


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.0.0 (Technical Preview)