Detailed Description
The QOrganizerItemIntersectionFilter class provides a filter which intersects the results of other filters.
It may be used to select organizer items which match all of the filters in the intersection filter.
Member Function Documentation
QOrganizerItemIntersectionFilter::QOrganizerItemIntersectionFilter()
Constructs a new intersection filter.
QOrganizerItemIntersectionFilter::QOrganizerItemIntersectionFilter(const QOrganizerItemFilter & other)
Constructs a copy of other if possible, otherwise constructs a new intersection filter.
void QOrganizerItemIntersectionFilter::append(const QOrganizerItemFilter & filter)
Appends the given filter to the list of intersected filters.
See also operator<<(), prepend(), and filters().
void QOrganizerItemIntersectionFilter::clear()
Clears the list of filters. Note that an empty intersection filter will match no items.
See also filters() and setFilters().
QList<QOrganizerItemFilter> QOrganizerItemIntersectionFilter::filters() const
Returns the list of filters which form the intersection filter.
See also setFilters(), prepend(), append(), and remove().
void QOrganizerItemIntersectionFilter::prepend(const QOrganizerItemFilter & filter)
Prepends the given filter to the list of intersected filters.
See also append() and filters().
void QOrganizerItemIntersectionFilter::remove(const QOrganizerItemFilter & filter)
Removes the given filter from the intersection list.
See also filters(), append(), prepend(), and clear().
void QOrganizerItemIntersectionFilter::setFilters(const QList<QOrganizerItemFilter> & filters)
Sets the filters whose criteria will be intersected to filters.
See also filters() and clear().
QOrganizerItemIntersectionFilter & QOrganizerItemIntersectionFilter::operator<<(const QOrganizerItemFilter & filter)
Appends the given filter to the list of intersected filters.
See also append().