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.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.