MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QLandmarkUnionFilter Class Reference

The QLandmarkUnionFilter class provides a filter which unions the results of its constituent filters. More...

 #include <QLandmarkUnionFilter>

Inherits: QLandmarkFilter.

This class was introduced in Qt Mobility 1.1.

Public Functions

QLandmarkUnionFilter ()
QLandmarkUnionFilter ( const QLandmarkFilter & other )
virtual ~QLandmarkUnionFilter ()
void append ( const QLandmarkFilter & filter )
void clear ()
QList<QLandmarkFilter> filters () const
void prepend ( const QLandmarkFilter & filter )
void remove ( const QLandmarkFilter & filter )
void setFilters ( const QList<QLandmarkFilter> & filters )
QLandmarkUnionFilter & operator<< ( const QLandmarkFilter & filter )

Detailed Description

The QLandmarkUnionFilter class provides a filter which unions the results of its constituent filters.

Conceptually it performs an OR operation and may thus be used to select landmarks which match any one of it's constituent filters.

Whether a union filter can be comprised of compound filters (i.e. union or intersection filters) is backend specific. Even if this is supported the performance of such a filter is likely to be poor.

Member Function Documentation

QLandmarkUnionFilter::QLandmarkUnionFilter ()

Constructs a new union filter.

QLandmarkUnionFilter::QLandmarkUnionFilter ( const QLandmarkFilter & other )

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

This function was introduced in Qt Mobility 1.1.

QLandmarkUnionFilter::~QLandmarkUnionFilter () [virtual]

Destroys the filter.

void QLandmarkUnionFilter::append ( const QLandmarkFilter & 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 QLandmarkUnionFilter::clear ()

Removes all filters from the union list.

This function was introduced in Qt Mobility 1.1.

See also remove().

QList<QLandmarkFilter> QLandmarkUnionFilter::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 QLandmarkUnionFilter::prepend ( const QLandmarkFilter & 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 QLandmarkUnionFilter::remove ( const QLandmarkFilter & filter )

Removes the given filter from the union list.

This function was introduced in Qt Mobility 1.1.

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

void QLandmarkUnionFilter::setFilters ( const QList<QLandmarkFilter> & filters )

Sets the filters whose criteria will be unioned.

This function was introduced in Qt Mobility 1.1.

See also filters().

QLandmarkUnionFilter & QLandmarkUnionFilter::operator<< ( const QLandmarkFilter & filter )

Appends the given filter to the list of unioned filters.

This function was introduced in Qt Mobility 1.1.

See also append().