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
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