Home · All Classes · All Functions ·

QContactDetailFieldDefinition Class Reference

The QContactDetailFieldDefinition class provides a field in a QContactDetail. More...

    #include <QContactDetailFieldDefinition>

Public Functions

QContactDetailFieldDefinition ()
QContactDetailFieldDefinition ( const QContactDetailFieldDefinition & other )
~QContactDetailFieldDefinition ()
QVariantList allowableValues () const
QVariant::Type dataType () const
void setAllowableValues ( const QVariantList values )
void setDataType ( QVariant::Type type )
bool operator!= ( const QContactDetailFieldDefinition & other ) const
QContactDetailFieldDefinition & operator= ( const QContactDetailFieldDefinition & other )
bool operator== ( const QContactDetailFieldDefinition & other ) const

Detailed Description

The QContactDetailFieldDefinition class provides a field in a QContactDetail.

Encapsulates information about a particular datum which may be part of a QContactDetail, including the type, allowable values and access constraints.


Member Function Documentation

QContactDetailFieldDefinition::QContactDetailFieldDefinition ()

Constructs a new field with no constraints and an invalid data type.

QContactDetailFieldDefinition::QContactDetailFieldDefinition ( const QContactDetailFieldDefinition & other )

Constructs a copy of the other field

QContactDetailFieldDefinition::~QContactDetailFieldDefinition ()

Cleans up the memory in use by the field

QVariantList QContactDetailFieldDefinition::allowableValues () const

Returns the list of allowable values which this field may store

See also setAllowableValues().

QVariant::Type QContactDetailFieldDefinition::dataType () const

Returns the data type of the field

See also setDataType().

void QContactDetailFieldDefinition::setAllowableValues ( const QVariantList values )

Sets the list of allowable values which this field may store to values

See also allowableValues().

void QContactDetailFieldDefinition::setDataType ( QVariant::Type type )

Sets the data type of the field to type

See also dataType().

bool QContactDetailFieldDefinition::operator!= ( const QContactDetailFieldDefinition & other ) const

Returns true if the allowable values or data type of the other field differ from those of this field

QContactDetailFieldDefinition & QContactDetailFieldDefinition::operator= ( const QContactDetailFieldDefinition & other )

Assigns the field to be equal to the other field

bool QContactDetailFieldDefinition::operator== ( const QContactDetailFieldDefinition & other ) const

Returns true if the allowable values and data type of the other field are equal to those of this field


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