The QOrganizerItemOccurrenceFetchRequest class allows a client to asynchronously request occurrences generated by a recurring item. More...
#include <QOrganizerItemOccurrenceFetchRequest>
Inherits: QOrganizerAbstractRequest.
This class was introduced in Qt Mobility 1.1.
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
This function was introduced in Qt Mobility 1.1.
Frees memory in use by this request
This function was introduced in Qt Mobility 1.2.
Returns the end date of the request.
This function was introduced in Qt Mobility 1.1.
See also setEndDate().
Returns the fetch hint associated with the request
This function was introduced in Qt Mobility 1.1.
See also setFetchHint().
Returns the list of organizer item occurrences retrieved by this request
This function was introduced in Qt Mobility 1.1.
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.
This function was introduced in Qt Mobility 1.1.
See also setMaxOccurrences().
Returns the parent item, whose occurrences are to be fetched.
This function was introduced in Qt Mobility 1.1.
See also setParentItem().
Sets the end period of the request to date. All occurrences fetched will have a date on or * before date.
This function was introduced in Qt Mobility 1.1.
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.
This function was introduced in Qt Mobility 1.1.
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.
This function was introduced in Qt Mobility 1.1.
See also maxOccurrences().
Sets the parent item, whose occurrences are to be fetched to item.
This function was introduced in Qt Mobility 1.1.
See also parentItem().
Sets the start date of the request to date. All occurrences fetched will have a date on or * after date.
This function was introduced in Qt Mobility 1.1.
See also startDate().
Returns the start date of the request.
This function was introduced in Qt Mobility 1.1.
See also setStartDate().