QtMobility Reference Documentation

QOrganizerItemIdFetchRequest Class Reference

The QOrganizerItemIdFetchRequest class allows a client to asynchronously request a list of organizer item ids from a organizer item store manager. More...

 #include <QOrganizerItemIdFetchRequest>

Inherits: QOrganizerAbstractRequest.

This class was introduced in Qt Mobility 1.1.

Public Functions

QOrganizerItemIdFetchRequest ( QObject * parent = 0 )
~QOrganizerItemIdFetchRequest ()
QDateTime endDate () const
QOrganizerItemFilter filter () const
QList<QOrganizerItemId> itemIds () const
void setEndDate ( const QDateTime & date )
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 QOrganizerItemIdFetchRequest class allows a client to asynchronously request a list of organizer item ids from a organizer item store manager.

For a QOrganizerItemIdFetchRequest, the resultsAvailable() signal will be emitted when the resultant manager organizer item ids (which may be retrieved by calling ids()), are updated, as well as if the overall operation error (which may be retrieved by calling error()) is updated.

Member Function Documentation

QOrganizerItemIdFetchRequest::QOrganizerItemIdFetchRequest ( QObject * parent = 0 )

Constructs a new organizer item id fetch request whose parent is the specified parent

This function was introduced in Qt Mobility 1.1.

QOrganizerItemIdFetchRequest::~QOrganizerItemIdFetchRequest ()

Frees memory in use by this request

This function was introduced in Qt Mobility 1.2.

QDateTime QOrganizerItemIdFetchRequest::endDate () const

Returns the date-time which is the upper bound for the range for items whose ids 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.

This function was introduced in Qt Mobility 1.1.

See also setEndDate().

QOrganizerItemFilter QOrganizerItemIdFetchRequest::filter () const

Returns the filter which will be used to select the organizer items whose ids will be returned

This function was introduced in Qt Mobility 1.1.

See also setFilter().

QList<QOrganizerItemId> QOrganizerItemIdFetchRequest::itemIds () const

Returns the list of ids of organizer items which matched the request

This function was introduced in Qt Mobility 1.1.

void QOrganizerItemIdFetchRequest::setEndDate ( const QDateTime & date )

Sets the date-time which is the upper bound for the range for items whose ids will be returned to date. 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.

This function was introduced in Qt Mobility 1.1.

See also endDate().

void QOrganizerItemIdFetchRequest::setFilter ( const QOrganizerItemFilter & filter )

Sets the filter which will be used to select the organizer items whose ids will be returned to filter

This function was introduced in Qt Mobility 1.1.

See also filter().

void QOrganizerItemIdFetchRequest::setSorting ( const QList<QOrganizerItemSortOrder> & sorting )

Sets the future sort ordering of the result of the request to sorting. This function only has effect on the result if called prior to calling start()

This function was introduced in Qt Mobility 1.1.

See also sorting().

void QOrganizerItemIdFetchRequest::setStartDate ( const QDateTime & date )

Sets the date-time which is the lower bound for the range for items whose ids will be returned to date. 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.

This function was introduced in Qt Mobility 1.1.

See also startDate().

QList<QOrganizerItemSortOrder> QOrganizerItemIdFetchRequest::sorting () const

Returns the sort ordering which will be used to sort the result

This function was introduced in Qt Mobility 1.1.

See also setSorting().

QDateTime QOrganizerItemIdFetchRequest::startDate () const

Returns the date-time which is the lower bound for the range for items whose ids will be returned. An invalid (default-constructed) date-time signifies that no lower bound is given (matches everything up until the end date). Note that an item matches if either it or any of its occurrences occur within the defined range.

This function was introduced in Qt Mobility 1.1.

See also setStartDate().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.