The QContactName class contains a name of a contact. More...
#include <QContactName>
Inherits: QContactDetail.
This class was introduced in Qt Mobility 1.0.
QString | customLabel () const |
QString | firstName () const |
QString | lastName () const |
QString | middleName () const |
QString | prefix () const |
void | setCustomLabel ( const QString & customLabel ) |
void | setFirstName ( const QString & firstName ) |
void | setLastName ( const QString & lastName ) |
void | setMiddleName ( const QString & middleName ) |
void | setPrefix ( const QString & prefix ) |
void | setSuffix ( const QString & suffix ) |
QString | suffix () const |
const QLatin1Constant | DefinitionName |
const QLatin1Constant | FieldCustomLabel |
const QLatin1Constant | FieldFirstName |
const QLatin1Constant | FieldLastName |
const QLatin1Constant | FieldMiddleName |
const QLatin1Constant | FieldPrefix |
const QLatin1Constant | FieldSuffix |
QContactFilter | match ( const QString & name ) |
QContactFilter | match ( const QString & firstName, const QString & lastName ) |
The QContactName class contains a name of a contact.
This leaf-class has been part of the default schema since version 1.0 of the Qt Mobility project.
Returns the custom label of the name stored in this detail.
This function was introduced in Qt Mobility 1.0.
See also setCustomLabel().
Returns the first (given) name segment of the name stored in this detail.
This function was introduced in Qt Mobility 1.0.
See also setFirstName().
Returns the last (family, or surname) name segment of the name stored in this detail.
This function was introduced in Qt Mobility 1.0.
See also setLastName().
Returns a filter suitable for finding contacts with any name field (e.g. first, last) that contains the supplied name.
This function was introduced in Qt Mobility 1.0.
Returns a filter suitable for finding contacts with a name with a first name containing the specified firstName and a last name containing the specified lastName. If either parameter is empty, any value will match that component.
This function was introduced in Qt Mobility 1.0.
Returns the middle (additional, or other) name segment of the name stored in this detail.
This function was introduced in Qt Mobility 1.0.
See also setMiddleName().
Returns the prefix segment of the name stored in this detail.
This function was introduced in Qt Mobility 1.0.
See also setPrefix().
Sets the custom label of the name stored in this detail to customLabel.
This function was introduced in Qt Mobility 1.0.
See also customLabel().
Sets the first name segment of the name stored in this detail to firstName.
This function was introduced in Qt Mobility 1.0.
See also firstName().
Sets the last name segment of the name stored in this detail to lastName.
This function was introduced in Qt Mobility 1.0.
See also lastName().
Sets the middle name segment of the name stored in this detail to middleName.
This function was introduced in Qt Mobility 1.0.
See also middleName().
Sets the prefix segment of the name stored in this detail to prefix.
This function was introduced in Qt Mobility 1.0.
See also prefix().
Sets the suffix segment of the name stored in this detail to suffix.
This function was introduced in Qt Mobility 1.0.
See also suffix().
Returns the suffix segment of the name stored in this detail.
This function was introduced in Qt Mobility 1.0.
See also setSuffix().
The string constant for the definition name of QContactName details.
The field key constant for the value containing a custom formatted label.
See also customLabel() and setCustomLabel().
The field key constant for the value containing the first name part of the name.
See also firstName() and setFirstName().
The field key constant for the value containing the last name part of the name.
See also lastName() and setLastName().
The field key constant for the value containing the middle name part of the name.
See also middleName() and setMiddleName().
The field key constant for the value containing the prefix part of the name.
See also prefix() and setPrefix().
The field key constant for the value containing the suffix part of the name.