MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QContactUnionFilter Class Reference

The QContactUnionFilter class provides a filter which unions the results of other filters. More...

 #include <QContactUnionFilter>

Inherits: QContactFilter.

This class was introduced in Qt Mobility 1.0.

Public Functions

QContactUnionFilter ()
QContactUnionFilter ( 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 )
QContactUnionFilter & operator<< ( const QContactFilter & filter )

Detailed Description

The QContactUnionFilter class provides a filter which unions the results of other filters.

It may be used to select contacts which match all of the filters in the union

Member Function Documentation

QContactUnionFilter::QContactUnionFilter ()

Constructs a new intersection filter

QContactUnionFilter::QContactUnionFilter ( const QContactFilter & other )

Constructs a copy of other if possible, otherwise constructs a new union filter

This function was introduced in Qt Mobility 1.0.

void QContactUnionFilter::append ( const QContactFilter & filter )

Appends the given filter to the list of unioned filters

This function was introduced in Qt Mobility 1.0.

See also operator<<(), prepend(), and filters().

void QContactUnionFilter::clear ()

Clears the list of filters. A cleared union filter will match no contacts.

See also filters() and remove().

QList<QContactFilter> QContactUnionFilter::filters () const

Returns the list of filters which form the union filter

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

void QContactUnionFilter::prepend ( const QContactFilter & filter )

Prepends the given filter to the list of unioned filters

This function was introduced in Qt Mobility 1.0.

See also append() and filters().

void QContactUnionFilter::remove ( const QContactFilter & filter )

Removes the given filter from the union list

This function was introduced in Qt Mobility 1.0.

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

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

Sets the filters whose criteria will be unioned to filters

This function was introduced in Qt Mobility 1.0.

See also filters().

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

Appends the given filter to the list of unioned filters

See also append().