Home · All Classes · All Functions ·

QContactType Class Reference

The QContactType class describes the type of the contact. More...

    #include <QContactType>

Inherits QContactDetail.

Public Functions

Static Public Members


Detailed Description

The QContactType class describes the type of the contact.


Member Function Documentation

void QContactType::setType ( const QString & type )

Sets the type of the contact to be the give type.

See also type().

QString QContactType::type () const

Returns the contact type value stored in this detail.

See also setType().


Member Variable Documentation

const QLatin1Constant QContactType::DefinitionName

The string constant for the definition name of QContactType details.

const QLatin1Constant QContactType::FieldType

The field key constant for the type value which is stored in details of the QContactType definition.

const QLatin1Constant QContactType::TypeContact

The predefined string constant for a type value, indicating this contact is an ordinary contact.

See also setType() and type().

const QLatin1Constant QContactType::TypeGroup

The predefined string constant for a type value, indicating this contact is a group contact.

Contacts of this type are able to be the first contact in relationships of the QContactRelationship::HasMember type.

To enumerate the ids of members of a group, the client should retrieve the relationships which involve the group from the manager in which the group is saved.

See also setType() and type().


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