QOrganizerItemInstanceFetchRequest Class Reference
The QOrganizerItemInstanceFetchRequest class allows a client to asynchronously request organizeritems from a organizeritems store manager. More...
#include <QOrganizerItemInstanceFetchRequest>
Inherits QOrganizerItemAbstractRequest.
Public Functions
Additional Inherited Members
Detailed Description
The QOrganizerItemInstanceFetchRequest class allows a client to asynchronously request organizeritems from a organizeritems store manager.
For a QOrganizerItemInstanceFetchRequest, the resultsAvailable() signal will be emitted when the resultant organizeritems (which may be retrieved by calling organizeritems()), are updated, as well as if the overall operation error (which may be retrieved by calling error()) is updated.
Member Function Documentation
QOrganizerItemInstanceFetchRequest::QOrganizerItemInstanceFetchRequest ( QObject * parent = 0 )
Constructs a new organizeritem fetch request whose parent is the specified parent
QOrganizerItemFetchHint QOrganizerItemInstanceFetchRequest::fetchHint () const
Returns the fetch hint which may be used by the backend to optimize organizeritem retrieval. A client should not make changes to a organizeritem which has been retrieved using a fetch hint other than the default fetch hint. Doing so will result in information loss when saving the organizeritem back to the manager (as the "new" restricted organizeritem will replace the previously saved organizeritem in the backend).
See also setFetchHint() and QOrganizerItemFetchHint.
QOrganizerItemFilter QOrganizerItemInstanceFetchRequest::filter () const
Returns the filter that will be used to select organizeritems to be returned
See also setFilter().
QList<QOrganizerItem> QOrganizerItemInstanceFetchRequest::items () const
Returns the list of organizeritems retrieved by this request
void QOrganizerItemInstanceFetchRequest::setFetchHint ( const QOrganizerItemFetchHint & fetchHint )
Sets the fetch hint which may be used by the backend to optimize organizeritem retrieval to fetchHint. A client should not make changes to a organizeritem which has been retrieved using a fetch hint other than the default fetch hint. Doing so will result in information loss when saving the organizeritem back to the manager (as the "new" restricted organizeritem will replace the previously saved organizeritem in the backend).
See also fetchHint() and QOrganizerItemFetchHint.
void QOrganizerItemInstanceFetchRequest::setFilter ( const QOrganizerItemFilter & filter )
Sets the organizeritem filter used to determine which organizeritems will be retrieved to filter
See also filter().
void QOrganizerItemInstanceFetchRequest::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> QOrganizerItemInstanceFetchRequest::sorting () const
Returns the sort ordering that will be used sort the results of this request
See also setSorting().