Detailed Description
The QOrganizerItemDetailFieldDefinition class provides a field in a QOrganizerItemDetail.
Encapsulates information about a particular datum which may be part of a QOrganizerItemDetail, including the type, allowable values and access constraints.
Member Function Documentation
QOrganizerItemDetailFieldDefinition::QOrganizerItemDetailFieldDefinition ()
Constructs a new field with no constraints and an invalid data type.
QOrganizerItemDetailFieldDefinition::QOrganizerItemDetailFieldDefinition ( const QOrganizerItemDetailFieldDefinition & other )
Constructs a copy of the other field
QOrganizerItemDetailFieldDefinition::~QOrganizerItemDetailFieldDefinition ()
Cleans up the memory in use by the field
QVariantList QOrganizerItemDetailFieldDefinition::allowableValues () const
Returns the list of allowable values which this field may store
See also setAllowableValues().
int QOrganizerItemDetailFieldDefinition::dataType () const
Returns the data type of the field
See also setDataType().
void QOrganizerItemDetailFieldDefinition::setAllowableValues ( const QVariantList values )
Sets the list of allowable values which this field may store to values
See also allowableValues().
void QOrganizerItemDetailFieldDefinition::setDataType ( int type )
Sets the data type of the field to type
See also dataType().
bool QOrganizerItemDetailFieldDefinition::operator!= ( const QOrganizerItemDetailFieldDefinition & other ) const
Returns true if the allowable values or data type of the other field differ from those of this field
QOrganizerItemDetailFieldDefinition & QOrganizerItemDetailFieldDefinition::operator= ( const QOrganizerItemDetailFieldDefinition & other )
Assigns the field to be equal to the other field
bool QOrganizerItemDetailFieldDefinition::operator== ( const QOrganizerItemDetailFieldDefinition & other ) const
Returns true if the allowable values and data type of the other field are equal to those of this field