MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QOrganizerItemUnionFilter Class Reference

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

 #include <QOrganizerItemUnionFilter>

Inherits: QOrganizerItemFilter.

This class was introduced in Qt Mobility 1.1.

Public Functions

QOrganizerItemUnionFilter ()
QOrganizerItemUnionFilter ( 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 )
QOrganizerItemUnionFilter & operator<< ( const QOrganizerItemFilter & filter )

Detailed Description

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

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

Member Function Documentation

QOrganizerItemUnionFilter::QOrganizerItemUnionFilter ()

* Constructs a new intersection filter

This function was introduced in Qt Mobility 1.1.

QOrganizerItemUnionFilter::QOrganizerItemUnionFilter ( const QOrganizerItemFilter & other )

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

This function was introduced in Qt Mobility 1.1.

void QOrganizerItemUnionFilter::append ( const QOrganizerItemFilter & filter )

* Appends the given filter to the list of unioned filters *

This function was introduced in Qt Mobility 1.1.

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

void QOrganizerItemUnionFilter::clear ()

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

This function was introduced in Qt Mobility 1.1.

See also filters() and remove().

QList<QOrganizerItemFilter> QOrganizerItemUnionFilter::filters () const

* Returns the list of filters which form the union filter *

This function was introduced in Qt Mobility 1.1.

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

void QOrganizerItemUnionFilter::prepend ( const QOrganizerItemFilter & filter )

* Prepends the given filter to the list of unioned filters *

This function was introduced in Qt Mobility 1.1.

See also append() and filters().

void QOrganizerItemUnionFilter::remove ( const QOrganizerItemFilter & filter )

* Removes the given filter from the union list *

This function was introduced in Qt Mobility 1.1.

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

void QOrganizerItemUnionFilter::setFilters ( const QList<QOrganizerItemFilter> & filters )

* Sets the filters whose criteria will be unioned to filters *

This function was introduced in Qt Mobility 1.1.

See also filters().

QOrganizerItemUnionFilter & QOrganizerItemUnionFilter::operator<< ( const QOrganizerItemFilter & filter )

* Appends the given filter to the list of unioned filters *

This function was introduced in Qt Mobility 1.1.

See also append().