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

QString number () const
void setNumber ( const QString & number )
void setSubTypes ( const QStringList & subTypes )
void setSubTypes ( const QString & subType )
QStringList subTypes () const

Public Variables

const char * DefinitionName
const char * FieldNumber
const char * FieldSubTypes
const char * SubTypeAssistant
const char * SubTypeBulletinBoardSystem
const char * SubTypeCar
const char * SubTypeDtmfMenu
const char * SubTypeFacsimile
const char * SubTypeLandline
const char * SubTypeMessagingCapable
const char * SubTypeMobile
const char * SubTypeModem
const char * SubTypePager
const char * SubTypeVideo
const char * SubTypeVoice

Static Public Members

QContactFilter match ( const QString & number )

Additional Inherited 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 matching 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 char * QContactPhoneNumber::DefinitionName

The constant string which identifies the definition of details which are phone numbers.

const char * QContactPhoneNumber::FieldNumber

The constant key for which the phone number value is stored in details of the QContactPhoneNumber type.

const char * QContactPhoneNumber::FieldSubTypes

The constant key for which the subtype values are stored in details of the QContactPhoneNumber type.

const char * QContactPhoneNumber::SubTypeAssistant

The constant attribute value which describes the phone number as an assistant phone number.

const char * QContactPhoneNumber::SubTypeBulletinBoardSystem

The constant attribute value which describes the phone number as identifying a bulletin board system.

const char * QContactPhoneNumber::SubTypeCar

The constant attribute value which describes the phone number as identifying a car phone.

const char * QContactPhoneNumber::SubTypeDtmfMenu

The constant attribute value which describes the phone number as supporting DTMF-controlled electronic menu navigation.

const char * QContactPhoneNumber::SubTypeFacsimile

The constant attribute value which describes the phone number as identifying a facsimile machine.

const char * QContactPhoneNumber::SubTypeLandline

The constant attribute value which describes the phone number as identifying a landline phone.

const char * QContactPhoneNumber::SubTypeMessagingCapable

The constant attribute value which describes the phone number as supporting messaging services.

const char * QContactPhoneNumber::SubTypeMobile

The constant attribute value which describes the phone number as identifying a mobile phone.

const char * QContactPhoneNumber::SubTypeModem

The constant attribute value which describes the phone number as supporting digital data transfer.

const char * QContactPhoneNumber::SubTypePager

The constant attribute value which describes the phone number as identifying a pager device.

const char * QContactPhoneNumber::SubTypeVideo

The constant attribute value which describes the phone number as supporting video transmission.

const char * QContactPhoneNumber::SubTypeVoice

The constant attribute value which describes the phone number as supporting voice transmission.


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