QtMobility Reference Documentation

QOrganizerItemDetailFieldDefinition Class Reference

The QOrganizerItemDetailFieldDefinition class provides a field in a QOrganizerItemDetail. More...

 #include <QOrganizerItemDetailFieldDefinition>

This class was introduced in Qt Mobility 1.1.

Public Functions

QOrganizerItemDetailFieldDefinition ()
QOrganizerItemDetailFieldDefinition ( const QOrganizerItemDetailFieldDefinition & other )
~QOrganizerItemDetailFieldDefinition ()
QVariantList allowableValues () const
int dataType () const
void setAllowableValues ( const QVariantList values )
void setDataType ( int type )
bool operator!= ( const QOrganizerItemDetailFieldDefinition & other ) const
QOrganizerItemDetailFieldDefinition & operator= ( const QOrganizerItemDetailFieldDefinition & other )
bool operator== ( const QOrganizerItemDetailFieldDefinition & other ) const

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

This function was introduced in Qt Mobility 1.1.

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

This function was introduced in Qt Mobility 1.1.

See also setAllowableValues().

int QOrganizerItemDetailFieldDefinition::dataType () const

* Returns the data type of the field

This function was introduced in Qt Mobility 1.1.

See also setDataType().

void QOrganizerItemDetailFieldDefinition::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.1.

See also allowableValues().

void QOrganizerItemDetailFieldDefinition::setDataType ( int type )

* Sets the data type of the field to type

This function was introduced in Qt Mobility 1.1.

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

This function was introduced in Qt Mobility 1.1.

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

* Assigns the field to be equal to the other field

This function was introduced in Qt Mobility 1.1.

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

This function was introduced in Qt Mobility 1.1.

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.