Detailed Description
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.
Member Function Documentation
QString QContactName::customLabel () const
Returns the custom label of the name stored in this detail.
See also setCustomLabel().
QString QContactName::firstName () const
Returns the first (given) name segment of the name stored in this detail.
See also setFirstName().
QString QContactName::lastName () const
Returns the last (family, or surname) name segment of the name stored in this detail.
See also setLastName().
QContactFilter QContactName::match ( const QString & name ) [static]
Returns a filter suitable for finding contacts with any name field (e.g. first, last) that contains the supplied name.
QContactFilter QContactName::match ( const QString & firstName, const QString & lastName ) [static]
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.
QString QContactName::middleName () const
Returns the middle (additional, or other) name segment of the name stored in this detail.
See also setMiddleName().
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::setFirstName ( const QString & firstName )
Sets the first name segment of the name stored in this detail to firstName.
See also firstName().
void QContactName::setLastName ( const QString & lastName )
Sets the last name segment of the name stored in this detail to lastName.
See also lastName().
void QContactName::setMiddleName ( const QString & middleName )
Sets the middle name segment of the name stored in this detail to middleName.
See also middleName().
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().