QOrganizerItemFetchForExportRequest Class

The QOrganizerItemFetchForExportRequest class allows a client to asynchronously fetch organizer items for export from a backend. More...

Header: #include <QOrganizerItemFetchForExportRequest>
Inherits: QOrganizerAbstractRequest.

Public Functions

QOrganizerItemFetchForExportRequest(QObject * parent = 0)
~QOrganizerItemFetchForExportRequest()
QDateTime endDate() const
QOrganizerItemFetchHint fetchHint() const
QOrganizerItemFilter filter() const
QList<QOrganizerItem> items() const
void setEndDate(const QDateTime & date)
void setFetchHint(const QOrganizerItemFetchHint & fetchHint)
void setFilter(const QOrganizerItemFilter & filter)
void setSorting(const QList<QOrganizerItemSortOrder> & sorting)
void setStartDate(const QDateTime & date)
QList<QOrganizerItemSortOrder> sorting() const
QDateTime startDate() const

Additional Inherited Members

Detailed Description

The QOrganizerItemFetchForExportRequest class allows a client to asynchronously fetch organizer items for export from a backend.

This request will only fetch parent items and persisted exceptions which match the specified criteria, and no generated occurrences will be fetched.

Member Function Documentation

QOrganizerItemFetchForExportRequest::QOrganizerItemFetchForExportRequest(QObject * parent = 0)

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

QOrganizerItemFetchForExportRequest::~QOrganizerItemFetchForExportRequest()

Frees memory in use by this request.

QDateTime QOrganizerItemFetchForExportRequest::endDate() const

Returns the date-time which is the upper bound for the range in which items will be returned.

See also setEndDate().

QOrganizerItemFetchHint QOrganizerItemFetchForExportRequest::fetchHint() const

Returns the fetch hint which may be used by the backend to optimize item retrieval.

A client should not make changes to a 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 item back to the manager (as the "new" restricted item will replace the previously saved item in the backend).

See also setFetchHint().

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.

A default-constructed (invalid) end date time specifies an open end date time (matches anything which occurs after the start date time).

See also endDate().

void QOrganizerItemFetchForExportRequest::setFetchHint(const QOrganizerItemFetchHint & fetchHint)

Sets the fetch hint which may be used by the backend to optimize item retrieval to fetchHint.

A client should not make changes to a 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 item back to the manager (as the "new" restricted item will replace the previously saved item in the backend).

See also fetchHint().

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.

See also sorting().

void QOrganizerItemFetchForExportRequest::setStartDate(const QDateTime & date)

Sets the start period of the request to date.

A default-constructed (invalid) start date time specifies an open start date time (matches anything which occurs up until the end date time).

See also startDate().

QList<QOrganizerItemSortOrder> QOrganizerItemFetchForExportRequest::sorting() const

Returns the sort ordering that will be used to 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.

See also setStartDate().