The QLandmarkIntersectionFilter class provides a filter which intersects the results of its constituent filters. More...
#include <QLandmarkIntersectionFilter>
Inherits: QLandmarkFilter.
This class was introduced in Qt Mobility 1.1.
QLandmarkIntersectionFilter () | |
QLandmarkIntersectionFilter ( const QLandmarkFilter & other ) | |
virtual | ~QLandmarkIntersectionFilter () |
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 ) |
QLandmarkIntersectionFilter & | operator<< ( const QLandmarkFilter & filter ) |
The QLandmarkIntersectionFilter class provides a filter which intersects the results of its constituent filters.
Conceptually it performs an AND operation and thus may be used to select landmarks which match all of it's constituent filters. If the intersection filter contains a proximity filter at the top level (i.e. which is not nested inside another filter) then the landmarks will be sorted by distance according to that filter. Note that a using sort order other than QLandmarkSortOrder (i.e. no sort) will override the sorting by distance).
Whether an intersection 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.
Constructs an intersection filter.
Constructs a copy of other if possible, otherwise constructs a new intersection filter.
This function was introduced in Qt Mobility 1.1.
Destroys the filter.
Appends the given filter to the list of intersected filters
This function was introduced in Qt Mobility 1.1.
See also operator<<(), prepend(), and filters().
Removes all filters from the list of intersected filters.
This function was introduced in Qt Mobility 1.1.
Returns the list of filters which form the intersection filter
This function was introduced in Qt Mobility 1.1.
See also setFilters(), prepend(), append(), and remove().
Prepends the given filter to the list of intersected filters
This function was introduced in Qt Mobility 1.1.
See also append() and filters().
Removes the given filter from the list of intersected filters.
This function was introduced in Qt Mobility 1.1.
See also filters(), append(), and prepend().
Sets the filters whose criteria will be intersected.
This function was introduced in Qt Mobility 1.1.
See also filters().
Appends the given filter to the list of intersected filters
This function was introduced in Qt Mobility 1.1.
See also append().