QPlaceCategory Class

The QPlaceCategory class represents a category that a QPlace can be associated with. More...

Header: #include <QPlaceCategory>
qmake: QT += location
Since: Qt 5.6

This class was introduced in Qt 5.6.

Detailed Description

Categories are used to search for places based on the categories they are associated with. The list/tree of available categories can be obtained from QPlaceManager. The QPlaceSearchRequest::setCategories() function can be used to limit the search results to places with the specified categories.

If the QGeoServiceProvider supports it, categories can be created and removed. This functionality is available in the QPlaceManager class.