QtMobility Reference Documentation

QContactLocalIdFetchRequest Class Reference

The QContactLocalIdFetchRequest class allows a client to asynchronously request a list of contact ids from a contacts store manager. More...

 #include <QContactLocalIdFetchRequest>

Inherits: QContactAbstractRequest.

This class was introduced in Qt Mobility 1.0.

Public Functions

QContactLocalIdFetchRequest ( QObject * parent = 0 )
~QContactLocalIdFetchRequest ()
QContactFilter filter () const
QList<QContactLocalId> ids () const
void setFilter ( const QContactFilter & filter )
void setSorting ( const QList<QContactSortOrder> & sorting )
QList<QContactSortOrder> sorting () const

Additional Inherited Members

Detailed Description

The QContactLocalIdFetchRequest class allows a client to asynchronously request a list of contact ids from a contacts store manager.

For a QContactLocalIdFetchRequest, the resultsAvailable() signal will be emitted when the resultant manager-local contact ids (which may be retrieved by calling ids()), 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.

Member Function Documentation

QContactLocalIdFetchRequest::QContactLocalIdFetchRequest ( QObject * parent = 0 )

Constructs a new contact id fetch request whose parent is the specified parent

QContactLocalIdFetchRequest::~QContactLocalIdFetchRequest ()

Frees any memory used by this request

QContactFilter QContactLocalIdFetchRequest::filter () const

Returns the filter which will be used to select the contacts whose ids will be returned

This function was introduced in Qt Mobility 1.0.

See also setFilter().

QList<QContactLocalId> QContactLocalIdFetchRequest::ids () const

Returns the list of ids of contacts which matched the request

This function was introduced in Qt Mobility 1.0.

void QContactLocalIdFetchRequest::setFilter ( const QContactFilter & filter )

Sets the filter which will be used to select the contacts whose ids will be returned to filter

This function was introduced in Qt Mobility 1.0.

See also filter().

void QContactLocalIdFetchRequest::setSorting ( const QList<QContactSortOrder> & sorting )

Sets the future sort ordering of the result of the request to sorting. This function only has effect on the result if called prior to calling start()

This function was introduced in Qt Mobility 1.0.

See also sorting().

QList<QContactSortOrder> QContactLocalIdFetchRequest::sorting () const

Returns the sort ordering which will be used to sort the result

This function was introduced in Qt Mobility 1.0.

See also setSorting().

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.