Qt Mobility Reference Documentation

QOrganizerItemFetchRequest Class Reference

The QOrganizerItemFetchRequest class allows a client to asynchronously request organizer items from an organizer item store manager. More...

 #include <QOrganizerItemFetchRequest>

Inherits QOrganizerItemAbstractRequest.


Public Functions

QOrganizerItemFetchRequest ( QObject * parent = 0 )
QOrganizerItemFetchHint fetchHint () const
QOrganizerItemFilter filter () const
QList<QOrganizerItem> items () const
void setFetchHint ( const QOrganizerItemFetchHint & fetchHint )
void setFilter ( const QOrganizerItemFilter & filter )
void setSorting ( const QList<QOrganizerItemSortOrder> & sorting )
QList<QOrganizerItemSortOrder> sorting () const

Additional Inherited Members


Detailed Description

The QOrganizerItemFetchRequest class allows a client to asynchronously request organizer items from an organizer item store manager.

For a QOrganizerItemFetchRequest, the resultsAvailable() signal will be emitted when the resultant organizer item (which may be retrieved by calling items()), are updated, as well as if the overall operation error (which may be retrieved by calling error()) is updated.


Member Function Documentation

QOrganizerItemFetchRequest::QOrganizerItemFetchRequest ( QObject * parent = 0 )

Constructs a new organizer item fetch request whose parent is the specified parent

QOrganizerItemFetchHint QOrganizerItemFetchRequest::fetchHint () const

Returns the fetch hint which may be used by the backend to optimize organizer item retrieval. A client should not make changes to an organizer item which has been retrieved using a fetch hint other than the default fetch hint. Doing so will result in information loss when saving the organizer item back to the manager (as the "new" restricted organizer item will replace the previously saved organizer item in the backend).

See also setFetchHint() and QOrganizerItemFetchHint.

QOrganizerItemFilter QOrganizerItemFetchRequest::filter () const

Returns the filter that will be used to select organizer items to be returned

See also setFilter().

QList<QOrganizerItem> QOrganizerItemFetchRequest::items () const

Returns the list of organizer items retrieved by this request

void QOrganizerItemFetchRequest::setFetchHint ( const QOrganizerItemFetchHint & fetchHint )

Sets the fetch hint which may be used by the backend to optimize organizer item retrieval to fetchHint. A client should not make changes to a organizer item which has been retrieved using a fetch hint other than the default fetch hint. Doing so will result in information loss when saving the organizer item back to the manager (as the "new" restricted organizer item will replace the previously saved organizer item in the backend).

See also fetchHint() and QOrganizerItemFetchHint.

void QOrganizerItemFetchRequest::setFilter ( const QOrganizerItemFilter & filter )

Sets the organizer item filter used to determine which organizer items will be retrieved to filter

See also filter().

void QOrganizerItemFetchRequest::setSorting ( const QList<QOrganizerItemSortOrder> & sorting )

Sets the sort order of the result to sorting. Only has an effect if called prior to calling start()

See also sorting().

QList<QOrganizerItemSortOrder> QOrganizerItemFetchRequest::sorting () const

Returns the sort ordering that will be used sort the results of this request

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.