Home · All Classes · All Functions ·

QContactUnionFilter Class Reference

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

    #include <QContactUnionFilter>

Inherits QContactFilter.


Public Functions

QContactUnionFilter ()
QContactUnionFilter ( const QContactFilter & other )
void append ( const QContactFilter & filter )
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

void QContactUnionFilter::append ( const QContactFilter & filter )

Appends the given filter to the list of unioned filters

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

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

See also append() and filters().

void QContactUnionFilter::remove ( const QContactFilter & filter )

Removes the given filter from the union list

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

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

Sets the filters whose criteria will be unioned to filters

See also filters().

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

Appends the given filter to the list of unioned filters

See also append().


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.0.0