The QContactDetailFieldDefinition class provides a field in a QContactDetail. More...
#include <QContactDetailFieldDefinition>
This class was introduced in Qt Mobility 1.0.
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 |
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.
Constructs a new field with no constraints and an invalid data type.
Constructs a copy of the other field
This function was introduced in Qt Mobility 1.0.
Cleans up the memory in use by the field
Returns the list of allowable values which this field may store
This function was introduced in Qt Mobility 1.0.
See also setAllowableValues().
Returns the data type of the field
This function was introduced in Qt Mobility 1.0.
See also setDataType().
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().
Sets the data type of the field to type
This function was introduced in Qt Mobility 1.0.
See also dataType().
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.
Assigns the field to be equal to the other field
This function was introduced in Qt Mobility 1.0.
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.