QtMobility Reference Documentation

QContactIntersectionFilter Class Reference

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

 #include <QContactIntersectionFilter>

Inherits: QContactFilter.

This class was introduced in Qt Mobility 1.0.

Public Functions

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

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

This function was introduced in Qt Mobility 1.0.

void QContactIntersectionFilter::append ( const QContactFilter & filter )

Appends the given filter to the list of intersected filters

This function was introduced in Qt Mobility 1.0.

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

This function was introduced in Qt Mobility 1.0.

See also setFilters(), prepend(), append(), and remove().

void QContactIntersectionFilter::prepend ( const QContactFilter & filter )

Prepends the given filter to the list of intersected filters

This function was introduced in Qt Mobility 1.0.

See also append() and filters().

void QContactIntersectionFilter::remove ( const QContactFilter & filter )

Removes the given filter from the intersection list

This function was introduced in Qt Mobility 1.0.

See also filters(), append(), prepend(), and clear().

void QContactIntersectionFilter::setFilters ( const QList<QContactFilter> & filters )

Sets the filters whose criteria will be intersected to filters

This function was introduced in Qt Mobility 1.0.

See also filters() and clear().

QContactIntersectionFilter & QContactIntersectionFilter::operator<< ( const QContactFilter & filter )

Appends the given filter to the list of intersected filters

This function was introduced in Qt Mobility 1.0.

See also append().

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.