![]() |
Home · All Classes · All Functions · | ![]() |
The QContactName class contains the name of a contact. More...
#include <QContactName>
Inherits QContactDetail.
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 char * | DefinitionName |
const char * | FieldCustomLabel |
const char * | FieldFirst |
const char * | FieldFirstName |
const char * | FieldLast |
const char * | FieldLastName |
const char * | FieldMiddle |
const char * | FieldMiddleName |
const char * | FieldPrefix |
const char * | FieldSuffix |
QContactFilter | match ( const QString & name ) |
QContactFilter | match ( const QString & firstName, const QString & lastName ) |
The QContactName class contains the name of a contact.
Returns the custom label of the name stored in this detail.
See also setCustomLabel().
Returns the first (given) name segment of the name stored in this detail.
See also setFirstName().
Returns the last (family, or surname) name segment of the name stored in this detail.
See also setLastName().
Returns a filter suitable for finding contacts with a name field (e.g. first, last) that matches the supplied name.
Returns a filter suitable for finding contacts with a name matching the specified firstName and lastName. If either parameter is empty, any value will match that component.
Returns the middle (additional, or other) name segment of the name stored in this detail.
See also setMiddleName().
Returns the prefix segment of the name stored in this detail.
See also setPrefix().
Sets the custom label of the name stored in this detail to customLabel.
See also customLabel().
Sets the first name segment of the name stored in this detail to firstName.
See also firstName().
Sets the last name segment of the name stored in this detail to lastName.
See also lastName().
Sets the middle name segment of the name stored in this detail to middleName.
See also middleName().
Sets the prefix segment of the name stored in this detail to prefix.
See also prefix().
Sets the suffix segment of the name stored in this detail to suffix.
See also suffix().
Returns the suffix segment of the name stored in this detail.
See also setSuffix().
The constant string which identifies the definition of details which are names.
The constant key for which the custom name label value is stored in details of the QContactName type, if supported.
The constant key for which the first name value is stored in details of the QContactName type.
The constant key for which the first name value is stored in details of the QContactName type.
The constant key for which the last name value is stored in details of the QContactName type.
The constant key for which the last name value is stored in details of the QContactName type.
The constant key for which the middle name value is stored in details of the QContactName type.
The constant key for which the middle name value is stored in details of the QContactName type.
The constant key for which the name prefix value is stored in details of the QContactName type.
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 |