Home · All Classes · All Functions ·

QContactPhoneNumber Class Reference

The QContactPhoneNumber class provides a phone number of a contact. More...

    #include <QContactPhoneNumber>

Inherits QContactDetail.

Public Functions

Static Public Members


Detailed Description

The QContactPhoneNumber class provides a phone number of a contact.


Member Function Documentation

QContactFilter QContactPhoneNumber::match ( const QString & number )   [static]

Returns a filter suitable for finding contacts with a phone number containing the specified number.

QString QContactPhoneNumber::number () const

Returns the phone number stored in this detail.

See also setNumber().

void QContactPhoneNumber::setNumber ( const QString & number )

Sets the phone number stored in this detail to number.

See also number().

void QContactPhoneNumber::setSubTypes ( const QStringList & subTypes )

Sets the subtypes which this detail implements to be those contained in the list of given subTypes

See also subTypes().

void QContactPhoneNumber::setSubTypes ( const QString & subType )

Sets the subtypes which this detail implements to be just the given subType.

QStringList QContactPhoneNumber::subTypes () const

Returns the list of subtypes that this detail implements.

See also setSubTypes().


Member Variable Documentation

const QLatin1Constant QContactPhoneNumber::DefinitionName

The string constant for the definition name of QContactPhoneNumber details.

const QLatin1Constant QContactPhoneNumber::FieldNumber

The field key constant for the value containing the phone number.

See also number() and setNumber().

const QLatin1Constant QContactPhoneNumber::FieldSubTypes

The field key constant for the field that stores the sub types of a QContactPhoneNumber.

See also subTypes() and setSubTypes().

const QLatin1Constant QContactPhoneNumber::SubTypeAssistant

The predefined string constant for a sub type value, indicating this phone number is the number of an assistant.

See also subTypes() and setSubTypes().

const QLatin1Constant QContactPhoneNumber::SubTypeBulletinBoardSystem

The predefined string constant for a sub type value, indicating this phone number is a bulletin board system.

See also subTypes() and setSubTypes().

const QLatin1Constant QContactPhoneNumber::SubTypeCar

The predefined string constant for a sub type value, indicating this phone number is a car phone.

See also subTypes() and setSubTypes().

const QLatin1Constant QContactPhoneNumber::SubTypeDtmfMenu

The predefined string constant for a sub type value, indicating this phone number supports DTMF-controlled voice menu navigation.

See also subTypes() and setSubTypes().

const QLatin1Constant QContactPhoneNumber::SubTypeFax

The predefined string constant for a sub type value, indicating this phone number is a fax number.

See also subTypes() and setSubTypes().

const QLatin1Constant QContactPhoneNumber::SubTypeLandline

The predefined string constant for a sub type value, indicating this phone number is a landline number.

See also subTypes() and setSubTypes().

const QLatin1Constant QContactPhoneNumber::SubTypeMessagingCapable

The predefined string constant for a sub type value, indicating this phone number supports messaging services.

See also subTypes() and setSubTypes().

const QLatin1Constant QContactPhoneNumber::SubTypeMobile

The predefined string constant for a sub type value, indicating this phone number is a mobile (cellular) number.

See also subTypes() and setSubTypes().

const QLatin1Constant QContactPhoneNumber::SubTypeModem

The predefined string constant for a sub type value, indicating this phone number supports data transmission.

See also subTypes() and setSubTypes().

const QLatin1Constant QContactPhoneNumber::SubTypePager

The predefined string constant for a sub type value, indicating this phone number is a pager number.

See also subTypes() and setSubTypes().

const QLatin1Constant QContactPhoneNumber::SubTypeVideo

The predefined string constant for a sub type value, indicating this phone number supports video transmission.

See also subTypes() and setSubTypes().

const QLatin1Constant QContactPhoneNumber::SubTypeVoice

The predefined string constant for a sub type value, indicating this phone number supports voice transmission.

See also subTypes() and setSubTypes().


Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.0.1