The QLandmarkCategoryFilter class is used to search for landmarks that belong to a certain category. More...
#include <QLandmarkCategoryFilter>
Inherits QLandmarkFilter.
This class was introduced in Qt Mobility 1.1.
QLandmarkCategoryFilter ( const QLandmarkCategoryId & categoryId = QLandmarkCategoryId() ) | |
QLandmarkCategoryFilter ( const QLandmarkFilter & other ) | |
virtual | ~QLandmarkCategoryFilter () |
QLandmarkCategoryId | categoryId () const |
void | setCategory ( const QLandmarkCategory & category ) |
void | setCategoryId ( const QLandmarkCategoryId & categoryId ) |
The QLandmarkCategoryFilter class is used to search for landmarks that belong to a certain category.
Creates a filter that searches for landmarks that belong to the category identified by categoryId.
Constructs a copy of other if possible, otherwise constructs a new category filter.
Destroys the filter.
Returns the category identifier that this filter matches by.
See also setCategoryId().
Convenience function to set the category that this filter matches by. It is equivalent to calling setCategory(category.categoryId()).
Sets the category identifier that this filter matches by to categoryId.
See also categoryId().