QtMobility Reference Documentation

Contents

QOrganizerItemIntersectionFilter Class Reference

The QOrganizerItemIntersectionFilter class provides a filter which intersects the results of other filters. More...

 #include <QOrganizerItemIntersectionFilter>

Inherits QOrganizerItemFilter.

Public Functions

QOrganizerItemIntersectionFilter ()
QOrganizerItemIntersectionFilter ( const QOrganizerItemFilter & other )
void append ( const QOrganizerItemFilter & filter )
void clear ()
QList<QOrganizerItemFilter> filters () const
void prepend ( const QOrganizerItemFilter & filter )
void remove ( const QOrganizerItemFilter & filter )
void setFilters ( const QList<QOrganizerItemFilter> & filters )
QOrganizerItemIntersectionFilter & operator<< ( const QOrganizerItemFilter & filter )

Detailed Description

The QOrganizerItemIntersectionFilter class provides a filter which intersects the results of other filters.

It may be used to select organizeritems which match all of the filters in the intersection

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. A cleared 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().