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().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.