The QOrganizerItemOccurrenceFetchRequest class allows a client to asynchronously request occurrences generated by a recurring item. More...
#include <QOrganizerItemOccurrenceFetchRequest>
Inherits QOrganizerAbstractRequest.
QOrganizerItemOccurrenceFetchRequest ( QObject * parent = 0 ) | |
~QOrganizerItemOccurrenceFetchRequest () | |
QDateTime | endDate () const |
QOrganizerItemFetchHint | fetchHint () const |
QList<QOrganizerItem> | itemOccurrences () const |
int | maxOccurrences () const |
QOrganizerItem | parentItem () const |
void | setEndDate ( const QDateTime & date ) |
void | setFetchHint ( const QOrganizerItemFetchHint & hint ) |
void | setMaxOccurrences ( int maxCount ) |
void | setParentItem ( const QOrganizerItem & item ) |
void | setStartDate ( const QDateTime & date ) |
QDateTime | startDate () const |
The QOrganizerItemOccurrenceFetchRequest class allows a client to asynchronously request occurrences generated by a recurring item.
For a QOrganizerItemOccurrenceFetchRequest, the resultsAvailable() signal will be emitted when the resultant organizer items (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.
Constructs a new organizer item fetch request whose parent is the specified parent
Frees memory in use by this request
Returns the end date of the request.
See also setEndDate().
Returns the fetch hint associated with the request
See also setFetchHint().
Returns the list of organizer item occurrences retrieved by this request
Returns the maximum number of items to fetch.
A negative value denotes that no limit will be imposed on the number of items to fetch.
The default value is -1.
See also setMaxOccurrences().
Returns the parent item, whose occurrences are to be fetched.
See also setParentItem().
Sets the end period of the request to date. All occurrences fetched will have a date on or before date.
See also endDate().
Sets the fetch hint which the manager can use to optimize occurrence retrieval to hint. The fetch hint may be ignored by the manager, in which case each occurrence will include all available information.
See also fetchHint().
Sets the maximum number of items to fetch to maxCount.
A negative value denotes that no limit will be imposed on the number of items to fetch.
See also maxOccurrences().
Sets the parent item, whose occurrences are to be fetched to item.
See also parentItem().
Sets the start date of the request to date. All occurrences fetched will have a date on or after date.
See also startDate().
Returns the start date of the request.
See also setStartDate().