Detailed Description
The QOrganizerItemFetchForExportRequest class allows a client to asynchronously request organizer items from an organizer item store manager.
For a QOrganizerItemFetchForExportRequest, 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
QOrganizerItemFetchForExportRequest::QOrganizerItemFetchForExportRequest ( QObject * parent = 0 )
Constructs a new organizer item fetch request whose parent is the specified parent
QDateTime QOrganizerItemFetchForExportRequest::endDate () const
Returns the date-time which is the upper bound for the range in which items will be returned. An invalid (default-constructed) date-time signifies that no upper bound is given (matches everything after the start date). Note that an item matches if either it or any of its occurrences occur within the defined range.
See also setEndDate().
QOrganizerItemFetchHint QOrganizerItemFetchForExportRequest::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 QOrganizerItemFetchForExportRequest::filter () const
Returns the filter that will be used to select organizer items to be returned
See also setFilter().
QList<QOrganizerItem> QOrganizerItemFetchForExportRequest::items () const
Returns the list of organizer items retrieved by this request
void QOrganizerItemFetchForExportRequest::setEndDate ( const QDateTime & date )
Sets the end period of the request to date. Only has an effect if called prior to calling start()
See also endDate().
void QOrganizerItemFetchForExportRequest::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 QOrganizerItemFetchForExportRequest::setFilter ( const QOrganizerItemFilter & filter )
Sets the organizer item filter used to determine which organizer items will be retrieved to filter
See also filter().
void QOrganizerItemFetchForExportRequest::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().
void QOrganizerItemFetchForExportRequest::setStartDate ( const QDateTime & date )
Sets the start period of the request to date. Only has an effect if called prior to calling start()
See also startDate().
Returns the sort ordering that will be used sort the results of this request
See also setSorting().
QDateTime QOrganizerItemFetchForExportRequest::startDate () const
Returns the date-time which is the lower bound for the range in which items will be returned. An invalid (default-constructed) date-time signifies that no lower bound is given (matches everything up to the end date). Note that an item matches if either it or any of its occurrences occur within the defined range.
See also setStartDate().