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. More...
#include <QContactFavorite>
Inherits: QContactDetail.
This class was introduced in Qt Mobility 1.1.
int | index () const |
bool | isFavorite () const |
void | setFavorite ( bool isFavorite ) |
void | setIndex ( int index ) |
const QLatin1Constant | DefinitionName |
const QLatin1Constant | FieldFavorite |
const QLatin1Constant | FieldIndex |
QContactFilter | match () |
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.
Returns the index of the favorite contact.
See also setIndex().
Returns true if the contact is a favorite, false otherwise.
Returns a filter suitable for finding contacts which are marked as favorite contacts.
If isFavorite is true, marks the contact as a favorite. Otherwise, marks the contact as not a favorite.
See also isFavorite().
Sets the index of the favorite contact to index.
See also index().
The string constant for the definition name of QContactFavorite details.
The field key constant for the value that indicates whether a contact is a favorite.
See also index() and setIndex().
The field key constant for the value containing the index of the favorite contact (which determines the order they appear)