The QPlaceCategory class represents a category that a QPlace can be associated with. More...
|qmake:||QT += location|
|QPlaceCategory(const QPlaceCategory &other)|
|QPlaceCategory &||operator=(const QPlaceCategory &other)|
|void||setCategoryId(const QString &identifier)|
|void||setIcon(const QPlaceIcon &icon)|
|void||setName(const QString &name)|
|bool||operator!=(const QPlaceCategory &other) const|
|bool||operator==(const QPlaceCategory &other) const|
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.
Constructs a category which is a copy of other.
Constructs a category.
Assigns other to this category and returns a reference to this category.
Destroys the category.
Returns the identifier of the category. The category identifier is a string which uniquely identifies this category within a particular QPlaceManager. The identifier is only meaningful to the QPlaceManager that generated it and is not transferable between managers.
See also setCategoryId().
Returns the icon associated with the category.
See also setIcon().
Returns a boolean indicating whether the all the fields of the place category are empty or not.
Returns the name of category.
See also setName().
Sets the identifier of the category.
See also categoryId().
Sets the icon of the category.
See also icon().
Sets the name of the category.
See also name().
Sets the visibility of the category.
See also visibility().
Returns the visibility of the category.
See also setVisibility().
Returns true if other is not equal to this category; otherwise returns false.
Returns true if other is equal to this category; otherwise returns false.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: