The QContactFetchRequest class allows a client to asynchronously request contacts from a contacts store manager. More...
#include <QContactFetchRequest>
Inherits: QContactAbstractRequest.
This class was introduced in Qt Mobility 1.0.
QContactFetchRequest ( QObject * parent = 0 ) | |
~QContactFetchRequest () | |
QList<QContact> | contacts () const |
QContactFetchHint | fetchHint () const |
QContactFilter | filter () const |
void | setFetchHint ( const QContactFetchHint & fetchHint ) |
void | setFilter ( const QContactFilter & filter ) |
void | setSorting ( const QList<QContactSortOrder> & sorting ) |
QList<QContactSortOrder> | sorting () const |
The QContactFetchRequest class allows a client to asynchronously request contacts from a contacts store manager.
For a QContactFetchRequest, the resultsAvailable() signal will be emitted when the resultant contacts (which may be retrieved by calling contacts()), are updated, as well as if the overall operation error (which may be retrieved by calling error()) is updated.
Please see the class documentation of QContactAbstractRequest for more information about the usage of request classes and ownership semantics.
Constructs a new contact fetch request whose parent is the specified parent
Frees any memory used by this request
Returns the list of contacts retrieved by this request
This function was introduced in Qt Mobility 1.0.
Returns the fetch hint which may be used by the backend to optimize contact retrieval. A client should not make changes to a contact which has been retrieved using a fetch hint other than the default fetch hint. Doing so will result in information loss when saving the contact back to the manager (as the "new" restricted contact will replace the previously saved contact in the backend).
This function was introduced in Qt Mobility 1.0.
See also setFetchHint() and QContactFetchHint.
Returns the filter that will be used to select contacts to be returned
This function was introduced in Qt Mobility 1.0.
See also setFilter().
Sets the fetch hint which may be used by the backend to optimize contact retrieval to fetchHint. A client should not make changes to a contact which has been retrieved using a fetch hint other than the default fetch hint. Doing so will result in information loss when saving the contact back to the manager (as the "new" restricted contact will replace the previously saved contact in the backend).
This function was introduced in Qt Mobility 1.0.
See also fetchHint() and QContactFetchHint.
Sets the contact filter used to determine which contacts will be retrieved to filter
This function was introduced in Qt Mobility 1.0.
See also filter().
Sets the sort order of the result to sorting. Only has an effect if called prior to calling start()
This function was introduced in Qt Mobility 1.0.
See also sorting().
Returns the sort ordering that will be used sort the results of this request
This function was introduced in Qt Mobility 1.0.
See also setSorting().