QtMobility Reference Documentation

QContactDetailFieldDefinition Class Reference

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

 #include <QContactDetailFieldDefinition>

This class was introduced in Qt Mobility 1.0.

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 and allowable values.

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

This function was introduced in Qt Mobility 1.0.

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

This function was introduced in Qt Mobility 1.0.

See also setAllowableValues().

QVariant::Type QContactDetailFieldDefinition::dataType () const

Returns the data type of the field

This function was introduced in Qt Mobility 1.0.

See also setDataType().

void QContactDetailFieldDefinition::setAllowableValues ( const QVariantList values )

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

This function was introduced in Qt Mobility 1.0.

See also allowableValues().

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

Sets the data type of the field to type

This function was introduced in Qt Mobility 1.0.

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

This function was introduced in Qt Mobility 1.0.

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

Assigns the field to be equal to the other field

This function was introduced in Qt Mobility 1.0.

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

This function was introduced in Qt Mobility 1.0.

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.