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)
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.