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