QtMobility Reference Documentation

QLandmarkCategoryFilter Class Reference

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.

Public Functions

QLandmarkCategoryFilter ( const QLandmarkCategoryId & categoryId = QLandmarkCategoryId() )
QLandmarkCategoryFilter ( const QLandmarkFilter & other )
virtual ~QLandmarkCategoryFilter ()
QLandmarkCategoryId categoryId () const
void setCategory ( const QLandmarkCategory & category )
void setCategoryId ( const QLandmarkCategoryId & categoryId )

Detailed Description

The QLandmarkCategoryFilter class is used to search for landmarks that belong to a certain category.

Member Function Documentation

QLandmarkCategoryFilter::QLandmarkCategoryFilter ( const QLandmarkCategoryId & categoryId = QLandmarkCategoryId() )

Creates a filter that searches for landmarks that belong to the category identified by categoryId.

This function was introduced in Qt Mobility 1.1.

QLandmarkCategoryFilter::QLandmarkCategoryFilter ( const QLandmarkFilter & other )

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

This function was introduced in Qt Mobility 1.1.

QLandmarkCategoryFilter::~QLandmarkCategoryFilter () [virtual]

Destroys the filter.

QLandmarkCategoryId QLandmarkCategoryFilter::categoryId () const

Returns the category identifier that this filter matches by.

This function was introduced in Qt Mobility 1.1.

See also setCategoryId().

void QLandmarkCategoryFilter::setCategory ( const QLandmarkCategory & category )

Convenience function to set the category that this filter matches by. It is equivalent to calling setCategory(category.categoryId()).

This function was introduced in Qt Mobility 1.1.

void QLandmarkCategoryFilter::setCategoryId ( const QLandmarkCategoryId & categoryId )

Sets the category identifier that this filter matches by to categoryId.

This function was introduced in Qt Mobility 1.1.

See also categoryId().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.