Home · All Classes · All Functions ·

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.


Public Functions

QContactLocalIdFetchRequest ( QObject * parent = 0 )
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

QContactFilter QContactLocalIdFetchRequest::filter () const

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

See also setFilter().

QList<QContactLocalId> QContactLocalIdFetchRequest::ids () const

Returns the list of ids of contacts which matched the request

void QContactLocalIdFetchRequest::setFilter ( const QContactFilter & filter )

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

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()

See also sorting().

QList<QContactSortOrder> QContactLocalIdFetchRequest::sorting () const

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

See also setSorting().


Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.0.2