Detailed Description
The QContactFavorite class indicates if a contact is a favorite contact as well as the position it should appear in an ordered list of favorites.
This leaf-class has been part of the default schema since version 1.1 of the Qt Mobility project.
Member Function Documentation
int QContactFavorite::index () const
Returns the index of the favorite contact.
See also setIndex().
bool QContactFavorite::isFavorite () const
Returns true if the contact is a favorite, false otherwise.
void QContactFavorite::setFavorite ( bool isFavorite )
If isFavorite is true, marks the contact as a favorite. Otherwise, marks the contact as not a favorite.
See also isFavorite().
void QContactFavorite::setIndex ( int index )
Sets the index of the favorite contact to index.
See also index().
Member Variable Documentation
const QLatin1Constant QContactFavorite::DefinitionName
The string constant for the definition name of QContactFavorite details.
const QLatin1Constant QContactFavorite::FieldFavorite
The field key constant for the value that indicates whether a contact is a favorite.
See also index() and setIndex().
const QLatin1Constant QContactFavorite::FieldIndex
The field key constant for the value containing the index of the favorite contact (which determines the order they appear)
See also index() and setIndex().